Table of Contents

Class SVGAnimatedBoolean

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The SVGAnimatedBoolean interface is used for attributes of type boolean which can be animated.

[Value("SVGAnimatedBoolean")]
public class SVGAnimatedBoolean
Inheritance
SVGAnimatedBoolean
Inherited Members

Remarks

Constructors

SVGAnimatedBoolean()

public SVGAnimatedBoolean()

Properties

AnimVal

The animVal read-only property of the SVGAnimatedBoolean interface represents the current animated value of the associated animatable boolean SVG attribute. If the attribute is not animated, animVal is the same as BaseVal.

[Value("animVal")]
public bool AnimVal { get; }

Property Value

bool

A boolean; the value of the animatable boolean attribute.

Remarks

Some boolean SVG attributes, such as preserveAlpha, are animatable. In such cases, SVGAnimatedBoolean.animVal property is true when the attribute value resolves to true. Otherwise, the value is false.

-SVGElement
-SVGAnimationElement

See also on MDN

BaseVal

The baseVal property of the SVGAnimatedBoolean interface is the value of the associated animatable boolean SVG attribute in its base (none-animated) state. It reflects the value of the associated animatable boolean attribute when no animations are applied.

[Value("baseVal")]
public bool BaseVal { get; set; }

Property Value

bool

A boolean; the base value of the reflected attribute.

Remarks

Some boolean SVG attributes, such as preserveAlpha, are animatable. In such cases, SVGAnimatedBoolean.baseVal property is false when the attribute is set to false, is omitted and defaults to false, or is inheritable and inherits false. Otherwise, the value is true.

-SVGElement
-SVGAnimationElement

See also on MDN