CssPerspective Class
perspective() (https://drafts.css-houdini.org/css-typed-om-1/#cssperspective).
public sealed class CssPerspective : CssTransformComponent- Inheritance
CssTransformComponentCssPerspective
Constructors
| Name | Description |
|---|---|
| CssPerspective(CssPerspectiveValue) | https://drafts.css-houdini.org/css-typed-om-1/#dom-cssperspective-cssperspective |
CssPerspective(CssPerspectiveValue)
CssTransformValue.cshttps://drafts.css-houdini.org/css-typed-om-1/#dom-cssperspective-cssperspective
public CssPerspective(CssPerspectiveValue length)Properties
| Name | Description |
|---|---|
| Length | The length: a CssNumericValue or the keyword none (a CssKeywordValue). |
Length
CssTransformValue.csThe length: a CssNumericValue or the keyword none (a CssKeywordValue).
public CssPerspectiveValue Length { get; set; }Methods
| Name | Description |
|---|---|
| ToString() | https://drafts.css-houdini.org/css-typed-om-1/#serialize-a-cssperspective: a negative length is wrapped in calc(). |