public class DefaultPreserveAspectRatioHandler extends java.lang.Object implements PreserveAspectRatioHandler
Modifier and Type | Field and Description |
---|---|
static PreserveAspectRatioHandler |
INSTANCE
The only instance of this class.
|
Modifier | Constructor and Description |
---|---|
protected |
DefaultPreserveAspectRatioHandler()
This class does not need to be instantiated.
|
Modifier and Type | Method and Description |
---|---|
void |
endPreserveAspectRatio()
|
void |
meet()
Implements
PreserveAspectRatioHandler.meet() . |
void |
none()
Implements
PreserveAspectRatioHandler.none() . |
void |
slice()
Implements
PreserveAspectRatioHandler.slice() . |
void |
startPreserveAspectRatio()
|
void |
xMaxYMax()
Implements
PreserveAspectRatioHandler.xMaxYMax() . |
void |
xMaxYMid()
Implements
PreserveAspectRatioHandler.xMaxYMid() . |
void |
xMaxYMin()
Implements
PreserveAspectRatioHandler.xMaxYMin() . |
void |
xMidYMax()
Implements
PreserveAspectRatioHandler.xMidYMax() . |
void |
xMidYMid()
Implements
PreserveAspectRatioHandler.xMidYMid() . |
void |
xMidYMin()
Implements
PreserveAspectRatioHandler.xMidYMin() . |
void |
xMinYMax()
Implements
PreserveAspectRatioHandler.xMinYMax() . |
void |
xMinYMid()
Implements
PreserveAspectRatioHandler.xMinYMid() . |
void |
xMinYMin()
Implements
PreserveAspectRatioHandler.xMinYMin() . |
public static final PreserveAspectRatioHandler INSTANCE
protected DefaultPreserveAspectRatioHandler()
public void startPreserveAspectRatio() throws ParseException
startPreserveAspectRatio
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatiopublic void none() throws ParseException
PreserveAspectRatioHandler.none()
.none
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatiopublic void xMaxYMax() throws ParseException
PreserveAspectRatioHandler.xMaxYMax()
.xMaxYMax
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatiopublic void xMaxYMid() throws ParseException
PreserveAspectRatioHandler.xMaxYMid()
.xMaxYMid
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatiopublic void xMaxYMin() throws ParseException
PreserveAspectRatioHandler.xMaxYMin()
.xMaxYMin
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatiopublic void xMidYMax() throws ParseException
PreserveAspectRatioHandler.xMidYMax()
.xMidYMax
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatiopublic void xMidYMid() throws ParseException
PreserveAspectRatioHandler.xMidYMid()
.xMidYMid
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatiopublic void xMidYMin() throws ParseException
PreserveAspectRatioHandler.xMidYMin()
.xMidYMin
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatiopublic void xMinYMax() throws ParseException
PreserveAspectRatioHandler.xMinYMax()
.xMinYMax
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatiopublic void xMinYMid() throws ParseException
PreserveAspectRatioHandler.xMinYMid()
.xMinYMid
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatiopublic void xMinYMin() throws ParseException
PreserveAspectRatioHandler.xMinYMin()
.xMinYMin
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatiopublic void meet() throws ParseException
PreserveAspectRatioHandler.meet()
.meet
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatiopublic void slice() throws ParseException
PreserveAspectRatioHandler.slice()
.slice
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatiopublic void endPreserveAspectRatio() throws ParseException
endPreserveAspectRatio
in interface PreserveAspectRatioHandler
ParseException
- if an error occured while processing
the PreserveAspectRatioCopyright © 2022 Apache Software Foundation. All Rights Reserved.