@Internal public class XSLFTexturePaint extends java.lang.Object implements PaintStyle.TexturePaint
PaintStyle.FlipMode, PaintStyle.GradientPaint, PaintStyle.PaintModifier, PaintStyle.SolidPaint, PaintStyle.TextureAlignment, PaintStyle.TexturePaint| Constructor and 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)  | 
| Modifier and Type | Method and Description | 
|---|---|
PaintStyle.TextureAlignment | 
getAlignment()  | 
int | 
getAlpha()  | 
java.lang.String | 
getContentType()  | 
java.util.List<ColorStyle> | 
getDuoTone()
For pattern images, the duo tone defines the black/white pixel color replacement 
 | 
PaintStyle.FlipMode | 
getFlipMode()  | 
java.io.InputStream | 
getImageData()  | 
Insets2D | 
getInsets()
Specifies the portion of the blip or image that is used for the fill. 
 | 
java.awt.geom.Point2D | 
getOffset()  | 
java.awt.geom.Dimension2D | 
getScale()  | 
Shape | 
getShape()  | 
Insets2D | 
getStretch()
The stretch specifies the edges of a fill rectangle. 
 | 
boolean | 
isRotatedWithShape()  | 
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)
public java.io.InputStream getImageData()
getImageData in interface PaintStyle.TexturePaintpublic java.lang.String getContentType()
getContentType in interface PaintStyle.TexturePaintpublic int getAlpha()
getAlpha in interface PaintStyle.TexturePaintpublic boolean isRotatedWithShape()
isRotatedWithShape in interface PaintStyle.TexturePainttrue, if the rotation of the shape is also applied to the texture paintpublic java.awt.geom.Dimension2D getScale()
getScale in interface PaintStyle.TexturePaintnull if no scaling is appliedpublic java.awt.geom.Point2D getOffset()
getOffset in interface PaintStyle.TexturePaintnull if there's no offsetpublic PaintStyle.FlipMode getFlipMode()
getFlipMode in interface PaintStyle.TexturePaintpublic PaintStyle.TextureAlignment getAlignment()
getAlignment in interface PaintStyle.TexturePaintpublic Insets2D getInsets()
PaintStyle.TexturePaintEach edge of the image is defined by a percentage offset from the edge of the bounding box. A positive percentage specifies an inset and a negative percentage specifies an outset.
The percentage are ints based on 100000, so 100% = 100000.
So, for example, a left offset of 25% specifies that the left edge of the image is located to the right of the bounding box's left edge by 25% of the bounding box's width.
getInsets in interface PaintStyle.TexturePaintpublic Insets2D getStretch()
PaintStyle.TexturePaintEach edge of the fill rectangle is defined by a percentage offset from the corresponding edge of the picture's bounding box. A positive percentage specifies an inset and a negative percentage specifies an outset.
The percentage are ints based on 100000, so 100% = 100000.
getStretch in interface PaintStyle.TexturePaintpublic java.util.List<ColorStyle> getDuoTone()
PaintStyle.TexturePaintgetDuoTone in interface PaintStyle.TexturePaintpublic Shape getShape()
getShape in interface PaintStyle.TexturePaintCopyright 2022 The Apache Software Foundation or its licensors, as applicable.