pub type TransformOrigin = GenericTransformOrigin<LengthPercentage, LengthPercentage, Length>;Expand description
The computed value of a CSS <transform-origin>
Aliased Type§
#[repr(C)]pub struct TransformOrigin {
    pub horizontal: LengthPercentage,
    pub vertical: LengthPercentage,
    pub depth: CSSPixelLength,
}Fields§
§horizontal: LengthPercentageThe horizontal origin.
vertical: LengthPercentageThe vertical origin.
depth: CSSPixelLengthThe depth.
Implementations§
Source§impl TransformOrigin
 
impl TransformOrigin
Sourcepub fn initial_value() -> Self
 
pub fn initial_value() -> Self
Returns the initial computed value for transform-origin.