Package org.loboevolution.html.dom.svg
Interface SVGPreserveAspectRatio
- All Known Implementing Classes:
SVGPreserveAspectRatioImpl
public interface SVGPreserveAspectRatio
SVGPreserveAspectRatio interface.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final short
Constant SVG_MEETORSLICE_MEET=1static final short
Constant SVG_MEETORSLICE_SLICE=2static final short
Constant SVG_MEETORSLICE_UNKNOWN=0static final short
Constant SVG_PRESERVEASPECTRATIO_NONE=1static final short
Constant SVG_PRESERVEASPECTRATIO_UNKNOWN=0static final short
Constant SVG_PRESERVEASPECTRATIO_XMAXYMAX=10static final short
Constant SVG_PRESERVEASPECTRATIO_XMAXYMID=7static final short
Constant SVG_PRESERVEASPECTRATIO_XMAXYMIN=4static final short
Constant SVG_PRESERVEASPECTRATIO_XMIDYMAX=9static final short
Constant SVG_PRESERVEASPECTRATIO_XMIDYMID=6static final short
Constant SVG_PRESERVEASPECTRATIO_XMIDYMIN=3static final short
Constant SVG_PRESERVEASPECTRATIO_XMINYMAX=8static final short
Constant SVG_PRESERVEASPECTRATIO_XMINYMID=5static final short
Constant SVG_PRESERVEASPECTRATIO_XMINYMIN=2 -
Method Summary
Modifier and TypeMethodDescriptionshort
getAlign()
getAlign.short
getMeetOrSlice.void
setAlign
(short align) setAlign.void
setMeetOrSlice
(short meetOrSlice) setMeetOrSlice.
-
Field Details
-
SVG_PRESERVEASPECTRATIO_UNKNOWN
static final short SVG_PRESERVEASPECTRATIO_UNKNOWNConstant SVG_PRESERVEASPECTRATIO_UNKNOWN=0- See Also:
-
SVG_PRESERVEASPECTRATIO_NONE
static final short SVG_PRESERVEASPECTRATIO_NONEConstant SVG_PRESERVEASPECTRATIO_NONE=1- See Also:
-
SVG_PRESERVEASPECTRATIO_XMINYMIN
static final short SVG_PRESERVEASPECTRATIO_XMINYMINConstant SVG_PRESERVEASPECTRATIO_XMINYMIN=2- See Also:
-
SVG_PRESERVEASPECTRATIO_XMIDYMIN
static final short SVG_PRESERVEASPECTRATIO_XMIDYMINConstant SVG_PRESERVEASPECTRATIO_XMIDYMIN=3- See Also:
-
SVG_PRESERVEASPECTRATIO_XMAXYMIN
static final short SVG_PRESERVEASPECTRATIO_XMAXYMINConstant SVG_PRESERVEASPECTRATIO_XMAXYMIN=4- See Also:
-
SVG_PRESERVEASPECTRATIO_XMINYMID
static final short SVG_PRESERVEASPECTRATIO_XMINYMIDConstant SVG_PRESERVEASPECTRATIO_XMINYMID=5- See Also:
-
SVG_PRESERVEASPECTRATIO_XMIDYMID
static final short SVG_PRESERVEASPECTRATIO_XMIDYMIDConstant SVG_PRESERVEASPECTRATIO_XMIDYMID=6- See Also:
-
SVG_PRESERVEASPECTRATIO_XMAXYMID
static final short SVG_PRESERVEASPECTRATIO_XMAXYMIDConstant SVG_PRESERVEASPECTRATIO_XMAXYMID=7- See Also:
-
SVG_PRESERVEASPECTRATIO_XMINYMAX
static final short SVG_PRESERVEASPECTRATIO_XMINYMAXConstant SVG_PRESERVEASPECTRATIO_XMINYMAX=8- See Also:
-
SVG_PRESERVEASPECTRATIO_XMIDYMAX
static final short SVG_PRESERVEASPECTRATIO_XMIDYMAXConstant SVG_PRESERVEASPECTRATIO_XMIDYMAX=9- See Also:
-
SVG_PRESERVEASPECTRATIO_XMAXYMAX
static final short SVG_PRESERVEASPECTRATIO_XMAXYMAXConstant SVG_PRESERVEASPECTRATIO_XMAXYMAX=10- See Also:
-
SVG_MEETORSLICE_UNKNOWN
static final short SVG_MEETORSLICE_UNKNOWNConstant SVG_MEETORSLICE_UNKNOWN=0- See Also:
-
SVG_MEETORSLICE_MEET
static final short SVG_MEETORSLICE_MEETConstant SVG_MEETORSLICE_MEET=1- See Also:
-
SVG_MEETORSLICE_SLICE
static final short SVG_MEETORSLICE_SLICEConstant SVG_MEETORSLICE_SLICE=2- See Also:
-
-
Method Details
-
getAlign
short getAlign()getAlign.
- Returns:
- a short.
-
setAlign
void setAlign(short align) setAlign.
- Parameters:
align
- a short.- Throws:
DOMException
- if any.
-
getMeetOrSlice
short getMeetOrSlice()getMeetOrSlice.
- Returns:
- a short.
-
setMeetOrSlice
void setMeetOrSlice(short meetOrSlice) setMeetOrSlice.
- Parameters:
meetOrSlice
- a short.- Throws:
DOMException
- if any.
-