Class SVGAnimatedRect
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The SVGAnimatedRect interface represents an SVGRect attribute that can be animated.
[Value("SVGAnimatedRect")]
public class SVGAnimatedRect
- Inheritance
-
SVGAnimatedRect
- Inherited Members
Remarks
Constructors
SVGAnimatedRect()
public SVGAnimatedRect()
Properties
AnimVal
The animVal read-only property of the SVGAnimatedRect interface represents the current animated value of the viewBox attribute of an SVG element as a read-only DOMRectReadOnly object. It provides access to the rectangle's dynamic state, including the x, y, width, and height values during the animation.
[Value("animVal")]
public DOMRectReadOnly AnimVal { get; }
Property Value
- DOMRectReadOnly
A DOMRectReadOnly object representing the animated value of the
viewBoxattribute.
Remarks
If no animation is applied, the animVal property reflects the SVG element's {{SVGAttr("viewBox")}} attribute value and will be identical to BaseVal.
-viewBox
-DOMRectReadOnly
BaseVal
The baseVal read-only property of the SVGAnimatedRect interface represents the current non-animated value of the viewBox attribute of an SVG element.
[Value("baseVal")]
public DOMRect BaseVal { get; }