Skip to main content

Class: SUIRect

This page documents the methods and fields available in the SUIRect class.

Members

SignatureDescription
getAnchorObject(String)Returns the current anchor object.
getFloat(String)Returns the current float.
getHorizontalAnchorType(String)Returns the current horizontal anchor type.
getInt(String)Returns the current int.
getLayer()Returns the current layer.
getRotation()Returns the current rotation.
getScreenH()Returns the current screen h.
getScreenW()Returns the current screen w.
getScreenX()Returns the current screen x.
getScreenY()Returns the current screen y.
getUnit(String)Returns the current unit.
getVerticalAnchorType(String)Returns the current vertical anchor type.
setAnchorObject(String, SpatialObject)Sets or updates the anchor object.
setBottomAnchorObject(SpatialObject)Sets or updates the bottom anchor object.
setBottomAnchorTarget(SVerticalConstraintTarget)Sets or updates the bottom anchor target.
setBottomMargin(int)Sets or updates the bottom margin.
setBottomMarginUnitType(SUnitType)Sets or updates the bottom margin unit type.
setBottomPadding(int)Sets or updates the bottom padding.
setBottomPaddingUnitType(SUnitType)Sets or updates the bottom padding unit type.
setFloat(String, float)Sets or updates the float.
setHeight(int)Sets or updates the height.
setHeightPercentage(float)Sets or updates the height percentage.
setHeightUnitType(SUnitType)Sets or updates the height unit type.
setHorizontalAnchorType(String, SHorizontalConstraintTarget)Sets or updates the horizontal anchor type.
setInt(String, int)Sets or updates the int.
setLayer(int)Sets or updates the layer.
setLeftAnchorObject(SpatialObject)Sets or updates the left anchor object.
setLeftAnchorTarget(SHorizontalConstraintTarget)Sets or updates the left anchor target.
setLeftMargin(int)Sets or updates the left margin.
setLeftMarginUnitType(SUnitType)Sets or updates the left margin unit type.
setLeftPadding(int)Sets or updates the left padding.
setLeftPaddingUnitType(SUnitType)Sets or updates the left padding unit type.
setRightAnchorObject(SpatialObject)Sets or updates the right anchor object.
setRightAnchorTarget(SHorizontalConstraintTarget)Sets or updates the right anchor target.
setRightMargin(int)Sets or updates the right margin.
setRightMarginUnitType(SUnitType)Sets or updates the right margin unit type.
setRightPadding(int)Sets or updates the right padding.
setRightPaddingUnitType(SUnitType)Sets or updates the right padding unit type.
setRotation(Quaternion)Sets or updates the rotation.
setTopAnchorObject(SpatialObject)Sets or updates the top anchor object.
setTopAnchorTarget(SVerticalConstraintTarget)Sets or updates the top anchor target.
setTopMargin(int)Sets or updates the top margin.
setTopMarginUnitType(SUnitType)Sets or updates the top margin unit type.
setTopPadding(int)Sets or updates the top padding.
setTopPaddingUnitType(SUnitType)Sets or updates the top padding unit type.
setUnit(String, SUnitType)Sets or updates the unit.
setVerticalAnchorType(String, SVerticalConstraintTarget)Sets or updates the vertical anchor type.
setWidth(int)Sets or updates the width.
setWidthPercentage(float)Sets or updates the width percentage.
setWidthUnitType(SUnitType)Sets or updates the width unit type.