Table of Contents

Property Type

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Core.dll

Type

Gets or sets a value to indicates the type of transformation which is to have its values change over time.

SvgTransformType Type { get; set; }

Property Value

SvgTransformType

The values are translate | scale | rotate | skewX | skewY.

If the attribute is not specified, then the effect is as if a value of 'translate' were specified.

The ‘from’, ‘by’ and ‘to’ attributes take a value expressed using the same syntax that is available for the given transformation type:

  • For a type='translate", each individual value is expressed as {tx} [,{ty}].
  • For a type="scale", each individual value is expressed as {sx} [,{sy}].
  • For a type="rotate", each individual value is expressed as {rotate-angle} [{cx} {cy}].
  • For a type="skewX" and type="skewY", each individual value is expressed as {skew-angle}.