@DOMObjectAttribute @DOMNoInterfaceObjectAttribute public interface ISVGFitToViewBox
Interface SVGFitToViewBox defines DOM attributes that apply to elements which have XML attributes ‘viewBox’ and ‘preserveAspectRatio’.
Modifier and Type | Method and Description |
---|---|
SVGAnimatedPreserveAspectRatio |
getPreserveAspectRatio()
Corresponds to attribute ‘preserveAspectRatio’ on the given element.
|
SVGAnimatedRect |
getViewBox()
Corresponds to attribute ‘viewBox’ on the given element.
|
@DOMNameAttribute(name="viewBox") SVGAnimatedRect getViewBox()
Corresponds to attribute ‘viewBox’ on the given element.
Value: The ‘viewBox’ of the given element.@DOMNameAttribute(name="preserveAspectRatio") SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
Corresponds to attribute ‘preserveAspectRatio’ on the given element.
Value: The ‘preserveAspectRatio’ of the given element.