Drawable.DrawableHint
Modifier and Type | Field and Description |
---|---|
static org.apache.poi.sl.draw.DrawTextParagraph.XlinkAttribute |
HYPERLINK_HREF
Keys for passing hyperlinks to the graphics context
|
static org.apache.poi.sl.draw.DrawTextParagraph.XlinkAttribute |
HYPERLINK_LABEL |
CURRENT_SLIDE, DRAW_FACTORY, FONT_FALLBACK, FONT_HANDLER, FONT_MAP, GRADIENT_SHAPE, GRESTORE, GROUP_TRANSFORM, GSAVE, IMAGE_RENDERER, PRESET_GEOMETRY_CACHE, TEXT_AS_CHARACTERS, TEXT_AS_SHAPES, TEXT_RENDERING_MODE
Constructor and Description |
---|
DrawTextParagraph(TextParagraph<?,?,?> paragraph) |
Modifier and Type | Method and Description |
---|---|
void |
applyTransform(Graphics2D graphics)
Apply 2-D transforms before drawing this shape.
|
void |
draw(Graphics2D graphics)
Draw this shape into the supplied canvas
|
void |
drawContent(Graphics2D graphics)
draw any content within this shape (image, text, etc.).
|
float |
getFirstLineHeight() |
float |
getFirstLineLeading() |
float |
getLastLineHeight() |
String |
getRenderableText(TextRun tr) |
double |
getY() |
boolean |
isEmptyParagraph() |
void |
setAutoNumberingIdx(int index)
Sets the auto numbering index of the handled paragraph
|
void |
setPosition(double x,
double y) |
public static final org.apache.poi.sl.draw.DrawTextParagraph.XlinkAttribute HYPERLINK_HREF
public static final org.apache.poi.sl.draw.DrawTextParagraph.XlinkAttribute HYPERLINK_LABEL
public DrawTextParagraph(TextParagraph<?,?,?> paragraph)
public void setPosition(double x, double y)
public double getY()
public void setAutoNumberingIdx(int index)
index
- the auto numbering indexpublic void draw(Graphics2D graphics)
Drawable
public float getFirstLineLeading()
public float getFirstLineHeight()
public float getLastLineHeight()
public boolean isEmptyParagraph()
public void applyTransform(Graphics2D graphics)
Drawable
applyTransform
in interface Drawable
graphics
- the graphics whos transform matrix will be modifiedpublic void drawContent(Graphics2D graphics)
Drawable
drawContent
in interface Drawable
graphics
- the graphics to draw intoCopyright © 2010 - 2020 Adobe. All Rights Reserved