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:

NameType

id?

Returns: this


absolute

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

Parameters:

NameType

absolute?

undefined | false | true

Returns: this


alignBottom

alignBottom(id?: Id): this

Parameters:

NameType

id?

Returns: this


alignEnd

alignEnd(id?: Id): this

Parameters:

NameType

id?

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:

NameType

id?

Returns: this


alignTop

alignTop(id?: Id): this

Parameters:

NameType

id?

Returns: this


animate

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

Parameters:

NameType

animate?

undefined | false | true

Returns: this


asProps

asProps(): LayoutProps

Returns: LayoutProps


below

below(id?: Id): this

Parameters:

NameType

id?

Returns: this


center

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

Parameters:

NameType

center?

undefined | false | true

Returns: this


centerHorizontal

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

Parameters:

NameType

center?

undefined | false | true

Returns: this


centerVertical

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

Parameters:

NameType

center?

undefined | false | true

Returns: this


height

height(height: DimensionInput): this

Parameters:

NameType

height

Returns: this


margin

margin(margin?: RectLike): this

Parameters:

NameType

margin?

Returns: this


maxHeight

maxHeight(maxHeight: number): this

Parameters:

NameType

maxHeight

number

Returns: this


maxWidth

maxWidth(maxWidth: number): this

Parameters:

NameType

maxWidth

number

Returns: this


minHeight

minHeight(minHeight: number): this

Parameters:

NameType

minHeight

number

Returns: this


minWidth

minWidth(minWidth: number): this

Parameters:

NameType

minWidth

number

Returns: this


padding

padding(padding?: RectLike): this

Parameters:

NameType

padding?

Returns: this


posX

posX(x: DimensionInput): this

Parameters:

Returns: this


posY

posY(y: DimensionInput): this

Parameters:

Returns: this


toEndOf

toEndOf(id?: Id): this

Parameters:

NameType

id?

Returns: this


toLeftOf

toLeftOf(id?: Id): this

Parameters:

NameType

id?

Returns: this


toRightOf

toRightOf(id?: Id): this

Parameters:

NameType

id?

Returns: this


toStartOf

toStartOf(id?: Id): this

Parameters:

NameType

id?

Returns: this


updateWithProps

updateWithProps(__namedParameters: object): boolean

Parameters:

Default value __namedParameters: object= {}

NameTypeDefault

above

undefined | string | number

DefaultProps.ABOVE

alignBottom

undefined | string | number

DefaultProps.ALIGN_BOTTOM

alignEnd

undefined | string | number

DefaultProps.ALIGN_END

alignStart

undefined | string | number

DefaultProps.ALIGN_START

alignTop

undefined | string | number

DefaultProps.ALIGN_TOP

below

undefined | string | number

DefaultProps.BELOW

centerHorizontal

boolean

DefaultProps.CENTER_HORIZONTAL

centerVertical

boolean

DefaultProps.CENTER_VERTICAL

height

null | string | number

DefaultProps.HEIGHT

isAbsolute

boolean

DefaultProps.IS_ABSOLUTE

isAnimated

boolean

DefaultProps.IS_ANIMATED

margin

DefaultProps.MARGIN

maxHeight

number

DefaultProps.MAX_HEIGHT

maxWidth

number

DefaultProps.MAX_WIDTH

minHeight

number

DefaultProps.MIN_HEIGHT

minWidth

number

DefaultProps.MIN_WIDTH

padding

DefaultProps.PADDING

posX

null | string | number

DefaultProps.X

posY

null | string | number

DefaultProps.Y

toEndOf

undefined | string | number

DefaultProps.TO_END_OF

toStartOf

undefined | string | number

DefaultProps.TO_START_OF

width

null | string | number

DefaultProps.WIDTH

Returns: boolean


width

width(width: DimensionInput): this

Parameters:

NameType

width

Returns: this

Last updated