Package org.loboevolution.svg
Interface SVGPreserveAspectRatio
- All Known Implementing Classes:
SVGPreserveAspectRatioImpl
public interface SVGPreserveAspectRatio
SVGPreserveAspectRatio interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortConstant SVG_MEETORSLICE_MEET=1static final shortConstant SVG_MEETORSLICE_SLICE=2static final shortConstant SVG_MEETORSLICE_UNKNOWN=0static final shortConstant SVG_PRESERVEASPECTRATIO_NONE=1static final shortConstant SVG_PRESERVEASPECTRATIO_UNKNOWN=0static final shortConstant SVG_PRESERVEASPECTRATIO_XMAXYMAX=10static final shortConstant SVG_PRESERVEASPECTRATIO_XMAXYMID=7static final shortConstant SVG_PRESERVEASPECTRATIO_XMAXYMIN=4static final shortConstant SVG_PRESERVEASPECTRATIO_XMIDYMAX=9static final shortConstant SVG_PRESERVEASPECTRATIO_XMIDYMID=6static final shortConstant SVG_PRESERVEASPECTRATIO_XMIDYMIN=3static final shortConstant SVG_PRESERVEASPECTRATIO_XMINYMAX=8static final shortConstant SVG_PRESERVEASPECTRATIO_XMINYMID=5static final shortConstant SVG_PRESERVEASPECTRATIO_XMINYMIN=2 -
Method Summary
Modifier and TypeMethodDescriptionshortgetAlign()getAlign.shortgetMeetOrSlice.voidsetAlign(short align) setAlign.voidsetMeetOrSlice(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.
-