Rect Transform¶
- public class RectTransform¶
A Unity engine Rect Transform for a UI object. See the Unity manual for more details.
- void setPosition(org.javatuples.Pair<Double, Double> value)¶
Position of the rectangles pivot point relative to the anchors.
- void setLocalPosition(org.javatuples.Triplet<Double, Double, Double> value)¶
Position of the rectangles pivot point relative to the anchors.
- void setUpperRight(org.javatuples.Pair<Double, Double> value)¶
Position of the rectangles upper right corner relative to the anchors.
- void setLowerLeft(org.javatuples.Pair<Double, Double> value)¶
Position of the rectangles lower left corner relative to the anchors.
- void setAnchor(org.javatuples.Pair<Double, Double> value)¶
Set the minimum and maximum anchor points as a fraction of the size of the parent rectangle.
- void setAnchorMax(org.javatuples.Pair<Double, Double> value)¶
The anchor point for the lower left corner of the rectangle defined as a fraction of the size of the parent rectangle.
- void setAnchorMin(org.javatuples.Pair<Double, Double> value)¶
The anchor point for the upper right corner of the rectangle defined as a fraction of the size of the parent rectangle.
- void setPivot(org.javatuples.Pair<Double, Double> value)¶
Location of the pivot point around which the rectangle rotates, defined as a fraction of the size of the rectangle itself.