Skip to main content

SkewYComponent

Type Alias SkewYComponent 

Source
pub type SkewYComponent = NumericValue;
Expand description

A skewY transform component used by the Typed OM.

This corresponds to CSSSkewY in the Typed OM specification. The value is always present; omitted angles are represented as 0deg.

SkewY components are always two-dimensional.

Aliased Type§

#[repr(C)]
pub enum SkewYComponent { Unit(UnitValue), Math(MathValue), }

Variants§

§

Unit(UnitValue)

A single numeric value with a concrete unit.

This corresponds to CSSUnitValue.

§

Math(MathValue)

A math expression.

This corresponds to CSSMathValue and its subclasses.