Struct TransformStyle
A 2D transform applied after the layout, without re-running it (CSS transform). Applies to the descendants too.
Assembly: Yaui.dll
View Source
Declaration
[Serializable]
public struct TransformStyle
Properties
Identity
View Source
Declaration
public static TransformStyle Identity { get; }
Fields
translate
View Source
Declaration
public Vector2 translate
rotation
Degrees, clockwise.
View Source
Declaration
public float rotation
scale
View Source
Declaration
public Vector2 scale
pivot
Origin of the rotation and scale, normalized in the element's box.
View Source
Declaration
public Vector2 pivot