Type Definition style::values::computed::transform::TransformOperation [] [src]

type TransformOperation = GenericTransformOperation<Angle, Number, Length, Integer, LengthOrNumber, LengthOrPercentage, LengthOrPercentageOrNumber>;

A single operation in a computed CSS transform

Methods

impl TransformOperation
[src]

[src]

Convert to a Translate3D.

Must be called on a Translate function

[src]

Convert to a Scale3D.

Must be called on a Scale function

Trait Implementations

impl ToAnimatedZero for TransformOperation
[src]

Build an equivalent 'identity transform function list' based on an existing transform list. http://dev.w3.org/csswg/css-transforms/#none-transform-animation

[src]

Returns a value that, when added with an underlying value, will produce the underlying value. This is used for SMIL animation's "by-animation" where SMIL first interpolates from the zero value to the 'by' value, and then adds the result to the underlying value. Read more

impl Animate for ComputedTransformOperation
[src]

http://dev.w3.org/csswg/css-transforms/#interpolation-of-transforms

[src]

Animate a value towards another one, given an animation procedure.

impl ComputeSquaredDistance for ComputedTransformOperation
[src]

[src]

Computes the squared distance between two animatable values.