enum CSSAngleUnit { | |
"deg", "rad", "grad", "turn" | |
}; | |
[ | |
Constructor(double value, CSSAngleUnit unit), | |
Exposed=(Window,PaintWorklet), | |
RuntimeEnabled=CSSTypedOM, | |
RaisesException=Constructor | |
] interface CSSAngleValue : CSSStyleValue { | |
readonly attribute double degrees; | |
readonly attribute double radians; | |
readonly attribute double gradians; | |
readonly attribute double turns; | |
}; |