public static class BinaryPartAbstractImage.CxCy extends Object
Modifier and Type | Method and Description |
---|---|
long |
getCx() |
long |
getCy() |
boolean |
isScaled() |
static BinaryPartAbstractImage.CxCy |
scale(org.apache.xmlgraphics.image.loader.ImageInfo imageInfo,
double xEmu,
double yEmu) |
static BinaryPartAbstractImage.CxCy |
scale(org.apache.xmlgraphics.image.loader.ImageInfo imageInfo,
PageDimensions page) |
static BinaryPartAbstractImage.CxCy |
scale(org.apache.xmlgraphics.image.loader.ImageInfo imageInfo,
PageDimensions page,
int maxWidth)
Return scaling values constrained by specified maxWidth.
|
static BinaryPartAbstractImage.CxCy |
scale(org.apache.xmlgraphics.image.loader.ImageInfo imageInfo,
Presentation.SldSz sldSz) |
static BinaryPartAbstractImage.CxCy |
scaleToFit(double iwEmu,
double ihEmu,
double swEmu,
double shEmu) |
public long getCx()
public long getCy()
public boolean isScaled()
public static BinaryPartAbstractImage.CxCy scale(org.apache.xmlgraphics.image.loader.ImageInfo imageInfo, PageDimensions page)
public static BinaryPartAbstractImage.CxCy scale(org.apache.xmlgraphics.image.loader.ImageInfo imageInfo, PageDimensions page, int maxWidth)
imageInfo
- page
- maxWidth
- public static BinaryPartAbstractImage.CxCy scale(org.apache.xmlgraphics.image.loader.ImageInfo imageInfo, Presentation.SldSz sldSz)
public static BinaryPartAbstractImage.CxCy scale(org.apache.xmlgraphics.image.loader.ImageInfo imageInfo, double xEmu, double yEmu)
public static BinaryPartAbstractImage.CxCy scaleToFit(double iwEmu, double ihEmu, double swEmu, double shEmu)
iwEmu
- image width in EMUihEmu
- image height in EMUswEmu
- slide width in EMUshEmu
- slide height in EMUCopyright © 2007-2019. All Rights Reserved.