CssScale Class
scale(), scaleX(), scaleY(), scaleZ() and scale3d() (https://drafts.css-houdini.org/css-typed-om-1/#cssscale).
public sealed class CssScale : CssTransformComponent- Inheritance
CssTransformComponentCssScale
Constructors
| Name | Description |
|---|---|
| CssScale(CssNumberish, CssNumberish, CssNumberish?) | https://drafts.css-houdini.org/css-typed-om-1/#dom-cssscale-cssscale |
CssScale(CssNumberish, CssNumberish, CssNumberish?)
CssTransformValue.cshttps://drafts.css-houdini.org/css-typed-om-1/#dom-cssscale-cssscale
public CssScale(CssNumberish x, CssNumberish y, CssNumberish? z = null)Properties
| Name | Description |
|---|---|
| X | Gets or sets the scale factor along the X axis. |
| Y | Gets or sets the scale factor along the Y axis. |
| Z | Gets or sets the scale factor along the Z axis. |
Gets or sets the scale factor along the X axis.
public CssNumberish X { get; set; }Gets or sets the scale factor along the Y axis.
public CssNumberish Y { get; set; }Gets or sets the scale factor along the Z axis.
public CssNumberish Z { get; set; }Methods
| Name | Description |
|---|---|
| ToString() | https://drafts.css-houdini.org/css-typed-om-1/#serialize-a-cssscale: scale(x) when x and y are equal. |