LayoutParams

Hierarchy

  • LayoutParams

Index

Properties

Methods

Properties

Optional aboveId

aboveId? : Id = DefaultProps.ABOVE


Optional belowId

belowId? : Id = DefaultProps.BELOW


Optional bottomId

bottomId? : Id = DefaultProps.ALIGN_BOTTOM


centerH

centerH: boolean = DefaultProps.CENTER_HORIZONTAL


centerV

centerV: boolean = DefaultProps.CENTER_VERTICAL


dependenciesModified

dependenciesModified: boolean = false


Optional endId

endId? : Id = DefaultProps.ALIGN_END


h

h: DimensionInput = DefaultProps.HEIGHT


hDimension

hDimension: Dimension = parseDimension(DefaultProps.HEIGHT)


isAbsolute

isAbsolute: boolean = DefaultProps.IS_ABSOLUTE


isAnimated

isAnimated: boolean = DefaultProps.IS_ANIMATED


marginRect

marginRect: Rect‹› = DefaultProps.MARGIN


maxH

maxH: number = DefaultProps.MAX_HEIGHT


maxW

maxW: number = DefaultProps.MAX_WIDTH


minH

minH: number = DefaultProps.MIN_HEIGHT


minW

minW: number = DefaultProps.MIN_WIDTH


paddingRect

paddingRect: Rect‹› = DefaultProps.PADDING


Optional startId

startId? : Id = DefaultProps.ALIGN_START


Optional toEndOfId

toEndOfId? : Id = DefaultProps.TO_END_OF


Optional toStartOfId

toStartOfId? : Id = DefaultProps.TO_START_OF


Optional topId

topId? : Id = DefaultProps.ALIGN_TOP


w

w: DimensionInput = DefaultProps.WIDTH


wDimension

wDimension: Dimension = parseDimension(DefaultProps.WIDTH)


x

x: DimensionInput = DefaultProps.X


xDimension

xDimension: Dimension = parseDimension(DefaultProps.X)


y

y: DimensionInput = DefaultProps.Y


yDimension

yDimension: Dimension = parseDimension(DefaultProps.Y)

Methods

above

above(id?: Id): this

Parameters:

Returns: this


absolute

absolute(absolute?: undefined | false | true): this

Parameters:

Returns: this


alignBottom

alignBottom(id?: Id): this

Parameters:

Returns: this


alignEnd

alignEnd(id?: Id): this

Parameters:

Returns: this


alignParentBottom

alignParentBottom(): this

Returns: this


alignParentEnd

alignParentEnd(): this

Returns: this


alignParentStart

alignParentStart(): this

Returns: this


alignParentTop

alignParentTop(): this

Returns: this


alignStart

alignStart(id?: Id): this

Parameters:

Returns: this


alignTop

alignTop(id?: Id): this

Parameters:

Returns: this


animate

animate(animate?: undefined | false | true): this

Parameters:

Returns: this


asProps

asProps(): LayoutProps

Returns: LayoutProps


below

below(id?: Id): this

Parameters:

Returns: this


center

center(center?: undefined | false | true): this

Parameters:

Returns: this


centerHorizontal

centerHorizontal(center?: undefined | false | true): this

Parameters:

Returns: this


centerVertical

centerVertical(center?: undefined | false | true): this

Parameters:

Returns: this


height

height(height: DimensionInput): this

Parameters:

Returns: this


margin

margin(margin?: RectLike): this

Parameters:

Returns: this


maxHeight

maxHeight(maxHeight: number): this

Parameters:

Returns: this


maxWidth

maxWidth(maxWidth: number): this

Parameters:

Returns: this


minHeight

minHeight(minHeight: number): this

Parameters:

Returns: this


minWidth

minWidth(minWidth: number): this

Parameters:

Returns: this


padding

padding(padding?: RectLike): this

Parameters:

Returns: this


posX

posX(x: DimensionInput): this

Parameters:

Returns: this


posY

posY(y: DimensionInput): this

Parameters:

Returns: this


toEndOf

toEndOf(id?: Id): this

Parameters:

Returns: this


toLeftOf

toLeftOf(id?: Id): this

Parameters:

Returns: this


toRightOf

toRightOf(id?: Id): this

Parameters:

Returns: this


toStartOf

toStartOf(id?: Id): this

Parameters:

Returns: this


updateWithProps

updateWithProps(__namedParameters: object): boolean

Parameters:

Default value __namedParameters: object= {}

Returns: boolean


width

width(width: DimensionInput): this

Parameters:

Returns: this

Last updated