Class CSSRotate
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The CSSRotate interface of the CSS Typed Object Model API represents the rotate value of the individual {{CSSXRef('transform')}} property in CSS. It inherits properties and methods from its parent 'CSSTransformValue'.
[Value("CSSRotate")]
public class CSSRotate : CSSTransformComponent
- Inheritance
-
CSSRotate
- Inherited Members
Remarks
Constructors
CSSRotate()
public CSSRotate()
CSSRotate(CSSNumericValue)
The CSSRotate() constructor creates a new
CSSRotate object representing the rotate() value of the
individual 'transform' property in CSS.
public CSSRotate(CSSNumericValue angle)
Parameters
angleCSSNumericValue
Remarks
CSSRotate(Union13, Union13, Union13, CSSNumericValue)
The CSSRotate() constructor creates a new
CSSRotate object representing the rotate() value of the
individual 'transform' property in CSS.
public CSSRotate(Union13 x, Union13 y, Union13 z, CSSNumericValue angle)
Parameters
xUnion13yUnion13zUnion13angleCSSNumericValue
Remarks
Properties
Angle
The angle property of the
CSSRotate interface gets and sets the angle of rotation. A positive angle
denotes a clockwise rotation, a negative angle a counter-clockwise one.
[Value("angle")]
public CSSNumericValue Angle { get; set; }
Property Value
Remarks
X
The x property of the
CSSRotate interface gets and sets the abscissa or x-axis of the
translating vector.
[Value("x")]
public Union13 X { get; set; }
Property Value
- Union13
A CSSNumericValue. Can be set to a number, which is wrapped in a CSSUnitValue of
unit: "number".
Remarks
Y
The y property of the
CSSRotate interface gets and sets the ordinate or y-axis of the
translating vector.
[Value("y")]
public Union13 Y { get; set; }
Property Value
- Union13
A CSSNumericValue. Can be set to a number, which is wrapped in a CSSUnitValue of
unit: "number".
Remarks
Z
The z property of the
CSSRotate interface representing the z-component of the translating
vector. A positive value moves the element towards the viewer, and a negative value
farther away.
[Value("z")]
public Union13 Z { get; set; }
Property Value
- Union13
A CSSNumericValue. Can be set to a number, which is wrapped in a CSSUnitValue of
unit: "number".