CssTranslate Class
translate(), translateX(), translateY(), translateZ() and translate3d() (https://drafts.css-houdini.org/css-typed-om-1/#csstranslate).
public sealed class CssTranslate : CssTransformComponent- Inheritance
CssTransformComponentCssTranslate
Constructors
| Name | Description |
|---|---|
| CssTranslate(CssNumericValue, CssNumericValue, CssNumericValue?) | https://drafts.css-houdini.org/css-typed-om-1/#dom-csstranslate-csstranslate |
CssTranslate(CssNumericValue, CssNumericValue, CssNumericValue?)
CssTransformValue.cshttps://drafts.css-houdini.org/css-typed-om-1/#dom-csstranslate-csstranslate
public CssTranslate(CssNumericValue x, CssNumericValue y, CssNumericValue? z = null)Properties
| Name | Description |
|---|---|
| X | Gets or sets the translation along the X axis. |
| Y | Gets or sets the translation along the Y axis. |
| Z | Gets or sets the translation along the Z axis. |
Gets or sets the translation along the X axis.
public CssNumericValue X { get; set; }Property value
See also
Gets or sets the translation along the Y axis.
public CssNumericValue Y { get; set; }Property value
See also
Gets or sets the translation along the Z axis.
public CssNumericValue Z { get; set; }Property value
See also
Methods
| Name | Description |
|---|---|
| ToString() | The serialization of the component (https://drafts.css-houdini.org/css-typed-om-1/#transformvalue-serialization). |