Hierarchy

  • PBUiTransform

Properties

alignContent?: YGAlign

default: YGAlign.YGA_FLEX_START

alignItems?: YGAlign

default: YGAlign.YGA_STRETCH

alignSelf: YGAlign

YGAlign.YGA_AUTO

aspectRatio?: number

width / height; undefined = no constraint

borderBottomColor?: PBColor4
borderBottomLeftRadius?: number
borderBottomLeftRadiusUnit?: YGUnit

YGUnit.YGU_UNDEFINED

borderBottomRightRadius?: number
borderBottomRightRadiusUnit?: YGUnit

YGUnit.YGU_UNDEFINED

borderBottomWidth?: number
borderBottomWidthUnit?: YGUnit

YGUnit.YGU_UNDEFINED

borderLeftColor?: PBColor4
borderLeftWidth?: number
borderLeftWidthUnit?: YGUnit

Border Width

borderRightColor?: PBColor4
borderRightWidth?: number
borderRightWidthUnit?: YGUnit

YGUnit.YGU_UNDEFINED

borderTopColor?: PBColor4

Border Color

borderTopLeftRadius?: number
borderTopLeftRadiusUnit?: YGUnit

Border Radius

borderTopRightRadius?: number
borderTopRightRadiusUnit?: YGUnit

YGUnit.YGU_UNDEFINED

borderTopWidth?: number
borderTopWidthUnit?: YGUnit

YGUnit.YGU_UNDEFINED

boxSizing?: YGBoxSizing

default: YGBoxSizing.YGBS_BORDER_BOX

columnGap?: number
columnGapUnit?: YGUnit

YGUnit.YGU_UNDEFINED

direction?: YGDirection

default: YGDirection.YGDIR_INHERIT

display: YGDisplay

YGDisplay.YGD_FLEX

flex?: number

flex shorthand: sets flex_grow/flex_shrink/flex_basis per Yoga semantics

flexBasis: number
flexBasisUnit: YGUnit

YGUnit.YGU_UNDEFINED

flexDirection: YGFlexDirection

YGFlexDirection.YGFD_ROW

flexGrow: number
flexShrink?: number

default: 1

flexWrap?: YGWrap

default: YGWrap.YGW_WRAP

gap?: number
gapUnit?: YGUnit

Gap — spacing between rows/columns of a flex container. YGUnit.YGU_AUTO is not valid here; treated as YGU_UNDEFINED. row_gap/column_gap take precedence over gap on their axis.

height: number
heightUnit: YGUnit

YGUnit.YGU_UNDEFINED

justifyContent: YGJustify

YGJustify.YGJ_FLEX_START

marginBottom: number
marginBottomUnit: YGUnit

YGUnit.YGU_UNDEFINED

marginLeft: number
marginLeftUnit: YGUnit

YGUnit.YGU_UNDEFINED

marginRight: number
marginRightUnit: YGUnit

YGUnit.YGU_UNDEFINED

marginTop: number
marginTopUnit: YGUnit

YGUnit.YGU_UNDEFINED

maxHeight: number
maxHeightUnit: YGUnit

YGUnit.YGU_UNDEFINED

maxWidth: number
maxWidthUnit: YGUnit

YGUnit.YGU_UNDEFINED

minHeight: number
minHeightUnit: YGUnit

YGUnit.YGU_UNDEFINED

minWidth: number
minWidthUnit: YGUnit

YGUnit.YGU_UNDEFINED

opacity?: number

default: 1

overflow: YGOverflow

YGOverflow.YGO_VISIBLE

paddingBottom: number
paddingBottomUnit: YGUnit

YGUnit.YGU_UNDEFINED

paddingLeft: number
paddingLeftUnit: YGUnit

YGUnit.YGU_UNDEFINED

paddingRight: number
paddingRightUnit: YGUnit

YGUnit.YGU_UNDEFINED

paddingTop: number
paddingTopUnit: YGUnit

YGUnit.YGU_UNDEFINED

parent: number
pointerFilter?: PointerFilterMode

default: PointerFilterMode.PFM_NONE

positionBottom: number
positionBottomUnit: YGUnit

YGUnit.YGU_UNDEFINED

positionLeft: number
positionLeftUnit: YGUnit

YGUnit.YGU_UNDEFINED

positionRight: number
positionRightUnit: YGUnit

YGUnit.YGU_UNDEFINED

positionTop: number
positionTopUnit: YGUnit

YGUnit.YGU_UNDEFINED

positionType: YGPositionType

YGPositionType.YGPT_RELATIVE

rightOf: number
rowGap?: number
rowGapUnit?: YGUnit

YGUnit.YGU_UNDEFINED

width: number
widthUnit: YGUnit

YGUnit.YGU_UNDEFINED

zIndex?: number

default: 0 — controls render stacking order. Higher values appear in front of lower values.