public class DrawSheet extends Object implements Drawable
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| Modifier and Type | Method and Description |
|---|---|
void |
applyTransform(Graphics2D context)
Apply 2-D transforms before drawing this shape.
|
void |
draw(Graphics2D graphics)
Draw this shape into the supplied canvas
|
void |
drawContent(Graphics2D context)
draw any content within this shape (image, text, etc.).
|
public DrawSheet(Sheet<?,?> sheet)
public void draw(Graphics2D graphics)
Drawablepublic void applyTransform(Graphics2D context)
DrawableapplyTransform in interface Drawablecontext - the graphics whos transform matrix will be modifiedpublic void drawContent(Graphics2D context)
DrawabledrawContent in interface Drawablecontext - the graphics to draw intoCopyright © 2010 - 2020 Adobe. All Rights Reserved