- All Known Implementing Classes:
- AbstractSVGPreserveAspectRatio,- SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue,- SVGOMAnimatedPreserveAspectRatio.BaseSVGPARValue
public interface SVGPreserveAspectRatio
Represents the 
preserveAspectRatio attribute.- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final shortThe meet keyword.static final shortThe slice keyword.static final shortSome other value.static final shortThe none keyword.static final shortSome other value.static final shortThe xMaxYMax keyword.static final shortThe xMaxYMid keyword.static final shortThe xMaxYMin keyword.static final shortThe xMidYMax keyword.static final shortThe xMidYMid keyword.static final shortThe xMidYMin keyword.static final shortThe xMinYMax keyword.static final shortThe xMinYMid keyword.static final shortThe xMinYMin keyword.
- 
Method SummaryModifier and TypeMethodDescriptionshortgetAlign()Get the alignment keyword part of the ‘preserveAspectRatio’ value.shortGet the meet-or-slice keyword part of the ‘preserveAspectRatio’ value.voidsetAlign(short align) voidsetMeetOrSlice(short meetOrSlice) 
- 
Field Details- 
SVG_PRESERVEASPECTRATIO_UNKNOWNstatic final short SVG_PRESERVEASPECTRATIO_UNKNOWNSome other value.- See Also:
 
- 
SVG_PRESERVEASPECTRATIO_NONEstatic final short SVG_PRESERVEASPECTRATIO_NONEThe none keyword.- See Also:
 
- 
SVG_PRESERVEASPECTRATIO_XMINYMINstatic final short SVG_PRESERVEASPECTRATIO_XMINYMINThe xMinYMin keyword.- See Also:
 
- 
SVG_PRESERVEASPECTRATIO_XMIDYMINstatic final short SVG_PRESERVEASPECTRATIO_XMIDYMINThe xMidYMin keyword.- See Also:
 
- 
SVG_PRESERVEASPECTRATIO_XMAXYMINstatic final short SVG_PRESERVEASPECTRATIO_XMAXYMINThe xMaxYMin keyword.- See Also:
 
- 
SVG_PRESERVEASPECTRATIO_XMINYMIDstatic final short SVG_PRESERVEASPECTRATIO_XMINYMIDThe xMinYMid keyword.- See Also:
 
- 
SVG_PRESERVEASPECTRATIO_XMIDYMIDstatic final short SVG_PRESERVEASPECTRATIO_XMIDYMIDThe xMidYMid keyword.- See Also:
 
- 
SVG_PRESERVEASPECTRATIO_XMAXYMIDstatic final short SVG_PRESERVEASPECTRATIO_XMAXYMIDThe xMaxYMid keyword.- See Also:
 
- 
SVG_PRESERVEASPECTRATIO_XMINYMAXstatic final short SVG_PRESERVEASPECTRATIO_XMINYMAXThe xMinYMax keyword.- See Also:
 
- 
SVG_PRESERVEASPECTRATIO_XMIDYMAXstatic final short SVG_PRESERVEASPECTRATIO_XMIDYMAXThe xMidYMax keyword.- See Also:
 
- 
SVG_PRESERVEASPECTRATIO_XMAXYMAXstatic final short SVG_PRESERVEASPECTRATIO_XMAXYMAXThe xMaxYMax keyword.- See Also:
 
- 
SVG_MEETORSLICE_UNKNOWNstatic final short SVG_MEETORSLICE_UNKNOWNSome other value.- See Also:
 
- 
SVG_MEETORSLICE_MEETstatic final short SVG_MEETORSLICE_MEETThe meet keyword.- See Also:
 
- 
SVG_MEETORSLICE_SLICEstatic final short SVG_MEETORSLICE_SLICEThe slice keyword.- See Also:
 
 
- 
- 
Method Details- 
getAlignshort getAlign()Get the alignment keyword part of the ‘preserveAspectRatio’ value.- Returns:
- the alignment keyword part of the ‘preserveAspectRatio’ value.
 
- 
setAlign- Throws:
- DOMException
 
- 
getMeetOrSliceshort getMeetOrSlice()Get the meet-or-slice keyword part of the ‘preserveAspectRatio’ value.- Returns:
- the meet-or-slice keyword part of the ‘preserveAspectRatio’ value.
 
- 
setMeetOrSlice- Throws:
- DOMException
 
 
-