.. default-domain:: csharp .. highlight:: csharp .. namespace:: KRPC.Client.Services.UI Rect Transform ============== .. class:: RectTransform A Unity engine Rect Transform for a UI object. See the `Unity manual `_ for more details. .. property:: System.Tuple Position { get; set; } Position of the rectangles pivot point relative to the anchors. :Game Scenes: All .. property:: System.Tuple LocalPosition { get; set; } Position of the rectangles pivot point relative to the anchors. :Game Scenes: All .. property:: System.Tuple Size { get; set; } Width and height of the rectangle. :Game Scenes: All .. property:: System.Tuple UpperRight { get; set; } Position of the rectangles upper right corner relative to the anchors. :Game Scenes: All .. property:: System.Tuple LowerLeft { get; set; } Position of the rectangles lower left corner relative to the anchors. :Game Scenes: All .. property:: System.Tuple Anchor { set; } Set the minimum and maximum anchor points as a fraction of the size of the parent rectangle. :Game Scenes: All .. property:: System.Tuple AnchorMax { get; set; } The anchor point for the lower left corner of the rectangle defined as a fraction of the size of the parent rectangle. :Game Scenes: All .. property:: System.Tuple AnchorMin { get; set; } The anchor point for the upper right corner of the rectangle defined as a fraction of the size of the parent rectangle. :Game Scenes: All .. property:: System.Tuple Pivot { get; set; } Location of the pivot point around which the rectangle rotates, defined as a fraction of the size of the rectangle itself. :Game Scenes: All .. property:: System.Tuple Rotation { get; set; } Rotation, as a quaternion, of the object around its pivot point. :Game Scenes: All .. property:: System.Tuple Scale { get; set; } Scale factor applied to the object in the x, y and z dimensions. :Game Scenes: All