CssPerspective Class

perspective() (https://drafts.css-houdini.org/css-typed-om-1/#cssperspective).

public sealed class CssPerspective : CssTransformComponent
Inheritance
CssTransformComponent CssPerspective

Constructors

NameDescription
CssPerspective(CssPerspectiveValue)https://drafts.css-houdini.org/css-typed-om-1/#dom-cssperspective-cssperspective

CssPerspective(CssPerspectiveValue)

CssTransformValue.cs

https://drafts.css-houdini.org/css-typed-om-1/#dom-cssperspective-cssperspective

public CssPerspective(CssPerspectiveValue length)

Properties

NameDescription
LengthThe length: a CssNumericValue or the keyword none (a CssKeywordValue).

Methods

NameDescription
ToString()https://drafts.css-houdini.org/css-typed-om-1/#serialize-a-cssperspective: a negative length is wrapped in calc().

https://drafts.css-houdini.org/css-typed-om-1/#serialize-a-cssperspective: a negative length is wrapped in calc().

public override string ToString()

Returns

string