public class DrawFreeformShape extends DrawAutoShape
Drawable.DrawableHintCURRENT_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 Collection<Outline> |
computeOutlines(Graphics2D graphics) |
protected TextShape<?,? extends TextParagraph<?,?,? extends TextRun>> |
getShape() |
drawContent, drawParagraphs, getTextHeight, getTextHeightdraw, drawDecoration, drawShadow, getCustomGeometry, getCustomGeometry, getHeadDecoration, getStroke, getTailDecorationapplyTransform, getAnchor, getAnchor, getStrokepublic DrawFreeformShape(FreeformShape<?,?> shape)
protected Collection<Outline> computeOutlines(Graphics2D graphics)
computeOutlines in class DrawSimpleShapeprotected TextShape<?,? extends TextParagraph<?,?,? extends TextRun>> getShape()
getShape in class DrawTextShapeCopyright 2019 The Apache Software Foundation or its licensors, as applicable.