public interface SVGPreserveAspectRatio
The SVGPreserveAspectRatio
interface corresponds to the
preserveAspectRatio
attribute, which is available for some of SVG's elements.
An SVGPreserveAspectRatio
object can be designated as read only, which means that attempts to modify the object will result in an exception being thrown.
Modifier and Type | Field and Description |
---|---|
static int |
SVG_MEETORSLICE_MEET
Corresponds to value
meet for attribute
preserveAspectRatio . |
static int |
SVG_MEETORSLICE_SLICE
Corresponds to value
slice for attribute
preserveAspectRatio . |
static int |
SVG_MEETORSLICE_UNKNOWN
The enumeration was set to a value that is not one of predefined types.
|
static int |
SVG_PRESERVEASPECTRATIO_NONE
Corresponds to value
none for attribute
preserveAspectRatio . |
static int |
SVG_PRESERVEASPECTRATIO_UNKNOWN
The enumeration was set to a value that is not one of predefined types.
|
static int |
SVG_PRESERVEASPECTRATIO_XMAXYMAX
Corresponds to value
xMaxYMax for attribute
preserveAspectRatio . |
static int |
SVG_PRESERVEASPECTRATIO_XMAXYMID
Corresponds to value
xMaxYMid for attribute
preserveAspectRatio . |
static int |
SVG_PRESERVEASPECTRATIO_XMAXYMIN
Corresponds to value
xMaxYMin for attribute
preserveAspectRatio . |
static int |
SVG_PRESERVEASPECTRATIO_XMIDYMAX
Corresponds to value
xMidYMax for attribute
preserveAspectRatio . |
static int |
SVG_PRESERVEASPECTRATIO_XMIDYMID
Corresponds to value
xMidYMid for attribute
preserveAspectRatio . |
static int |
SVG_PRESERVEASPECTRATIO_XMIDYMIN
Corresponds to value
xMidYMin for attribute
preserveAspectRatio . |
static int |
SVG_PRESERVEASPECTRATIO_XMINYMAX
Corresponds to value
xMinYMax for attribute
preserveAspectRatio . |
static int |
SVG_PRESERVEASPECTRATIO_XMINYMID
Corresponds to value
xMinYMid for attribute
preserveAspectRatio . |
static int |
SVG_PRESERVEASPECTRATIO_XMINYMIN
Corresponds to value
xMinYMin for attribute
preserveAspectRatio . |
Modifier and Type | Method and Description |
---|---|
int |
getAlign()
The type of the alignment value as specified by one of the SVG_PRESERVEASPECTRATIO_* constants defined on this interface.
|
int |
getMeetOrSlice()
The type of the meet-or-slice value as specified by one of the SVG_MEETORSLICE_* constants defined on this interface.
|
void |
setAlign(int arg) |
void |
setMeetOrSlice(int arg) |
static final int SVG_MEETORSLICE_MEET
meet
for attribute
preserveAspectRatio
.static final int SVG_MEETORSLICE_SLICE
slice
for attribute
preserveAspectRatio
.static final int SVG_MEETORSLICE_UNKNOWN
static final int SVG_PRESERVEASPECTRATIO_NONE
none
for attribute
preserveAspectRatio
.static final int SVG_PRESERVEASPECTRATIO_UNKNOWN
static final int SVG_PRESERVEASPECTRATIO_XMAXYMAX
xMaxYMax
for attribute
preserveAspectRatio
.static final int SVG_PRESERVEASPECTRATIO_XMAXYMID
xMaxYMid
for attribute
preserveAspectRatio
.static final int SVG_PRESERVEASPECTRATIO_XMAXYMIN
xMaxYMin
for attribute
preserveAspectRatio
.static final int SVG_PRESERVEASPECTRATIO_XMIDYMAX
xMidYMax
for attribute
preserveAspectRatio
.static final int SVG_PRESERVEASPECTRATIO_XMIDYMID
xMidYMid
for attribute
preserveAspectRatio
.static final int SVG_PRESERVEASPECTRATIO_XMIDYMIN
xMidYMin
for attribute
preserveAspectRatio
.static final int SVG_PRESERVEASPECTRATIO_XMINYMAX
xMinYMax
for attribute
preserveAspectRatio
.static final int SVG_PRESERVEASPECTRATIO_XMINYMID
xMinYMid
for attribute
preserveAspectRatio
.static final int SVG_PRESERVEASPECTRATIO_XMINYMIN
xMinYMin
for attribute
preserveAspectRatio
.int getAlign()
void setAlign(int arg)
int getMeetOrSlice()
void setMeetOrSlice(int arg)
Copyright © 2016. All rights reserved.