Package org.apache.poi.xslf.usermodel
Class XSLFTexturePaint
- java.lang.Object
-
- org.apache.poi.xslf.usermodel.XSLFTexturePaint
-
- All Implemented Interfaces:
PaintStyle
,PaintStyle.TexturePaint
@Internal public class XSLFTexturePaint extends Object implements PaintStyle.TexturePaint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.poi.sl.usermodel.PaintStyle
PaintStyle.FlipMode, PaintStyle.GradientPaint, PaintStyle.PaintModifier, PaintStyle.SolidPaint, PaintStyle.TextureAlignment, PaintStyle.TexturePaint
-
-
Constructor Summary
Constructors Constructor Description XSLFTexturePaint(XSLFShape shape, org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties blipFill, PackagePart parentPart, org.openxmlformats.schemas.drawingml.x2006.main.CTSchemeColor phClr, XSLFTheme theme, XSLFSheet sheet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaintStyle.TextureAlignment
getAlignment()
int
getAlpha()
String
getContentType()
List<ColorStyle>
getDuoTone()
PaintStyle.FlipMode
getFlipMode()
InputStream
getImageData()
Insets2D
getInsets()
Point2D
getOffset()
Dimension2D
getScale()
Shape
getShape()
Insets2D
getStretch()
boolean
isRotatedWithShape()
-
-
-
Constructor Detail
-
XSLFTexturePaint
public XSLFTexturePaint(XSLFShape shape, org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties blipFill, PackagePart parentPart, org.openxmlformats.schemas.drawingml.x2006.main.CTSchemeColor phClr, XSLFTheme theme, XSLFSheet sheet)
-
-
Method Detail
-
getImageData
public InputStream getImageData()
- Specified by:
getImageData
in interfacePaintStyle.TexturePaint
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfacePaintStyle.TexturePaint
-
getAlpha
public int getAlpha()
- Specified by:
getAlpha
in interfacePaintStyle.TexturePaint
-
isRotatedWithShape
public boolean isRotatedWithShape()
- Specified by:
isRotatedWithShape
in interfacePaintStyle.TexturePaint
-
getScale
public Dimension2D getScale()
- Specified by:
getScale
in interfacePaintStyle.TexturePaint
-
getOffset
public Point2D getOffset()
- Specified by:
getOffset
in interfacePaintStyle.TexturePaint
-
getFlipMode
public PaintStyle.FlipMode getFlipMode()
- Specified by:
getFlipMode
in interfacePaintStyle.TexturePaint
-
getAlignment
public PaintStyle.TextureAlignment getAlignment()
- Specified by:
getAlignment
in interfacePaintStyle.TexturePaint
-
getInsets
public Insets2D getInsets()
- Specified by:
getInsets
in interfacePaintStyle.TexturePaint
-
getStretch
public Insets2D getStretch()
- Specified by:
getStretch
in interfacePaintStyle.TexturePaint
-
getDuoTone
public List<ColorStyle> getDuoTone()
- Specified by:
getDuoTone
in interfacePaintStyle.TexturePaint
-
getShape
public Shape getShape()
- Specified by:
getShape
in interfacePaintStyle.TexturePaint
-
-