public class DrawFreeformShape extends DrawAutoShape
Drawable.DrawableHintDRAW_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 FreeformShape<?,?> |
getShape() |
drawContent, drawParagraphs, getTextHeightdraw, drawDecoration, drawShadow, getCustomGeometry, getCustomGeometry, getHeadDecoration, getStroke, getTailDecorationapplyTransform, getAnchor, getAnchorpublic DrawFreeformShape(FreeformShape<?,?> shape)
protected java.util.Collection<Outline> computeOutlines(java.awt.Graphics2D graphics)
computeOutlines in class DrawSimpleShapeprotected FreeformShape<?,?> getShape()
getShape in class DrawTextShapeCopyright 2017 The Apache Software Foundation or its licensors, as applicable.