public class DrawFreeformShape extends DrawAutoShape
Drawable.DrawableHint
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 |
---|
DrawFreeformShape(FreeformShape<?,?> shape) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<Outline> |
computeOutlines(java.awt.Graphics2D graphics) |
protected TextShape<?,? extends TextParagraph<?,?,? extends TextRun>> |
getShape() |
drawContent, drawParagraphs, getTextHeight, getTextHeight
draw, drawDecoration, drawShadow, getCustomGeometry, getCustomGeometry, getHeadDecoration, getStroke, getTailDecoration
applyTransform, getAnchor, getAnchor, getStroke
public DrawFreeformShape(FreeformShape<?,?> shape)
protected java.util.Collection<Outline> computeOutlines(java.awt.Graphics2D graphics)
computeOutlines
in class DrawSimpleShape
protected TextShape<?,? extends TextParagraph<?,?,? extends TextRun>> getShape()
getShape
in class DrawTextShape
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.