public static class GraphicsOp.DrawShapeOp extends GraphicsOp.ActionOp
GraphicsOp.ActionOp, GraphicsOp.BackgroundOp, GraphicsOp.ClearHintsOp, GraphicsOp.ClearOp, GraphicsOp.ClipOp, GraphicsOp.ColorOp, GraphicsOp.CompositeOp, GraphicsOp.ControlOp, GraphicsOp.DrawImageOp, GraphicsOp.DrawShapeOp, GraphicsOp.DrawStringOp, GraphicsOp.EndOp, GraphicsOp.FontOp, GraphicsOp.GroupEndOp, GraphicsOp.GroupStartOp, GraphicsOp.HintOp, GraphicsOp.InitOp, GraphicsOp.PaintOp, GraphicsOp.StateOp, GraphicsOp.StrokeOp, GraphicsOp.TransformOp, GraphicsOp.XorModeOp
Modifier and Type | Field and Description |
---|---|
private boolean |
fill |
private java.awt.Shape |
shape |
Constructor and Description |
---|
DrawShapeOp(java.awt.Shape shape,
boolean fill) |
Modifier and Type | Method and Description |
---|---|
java.awt.Shape |
getShape() |
boolean |
isFill() |
void |
replay(java.awt.Graphics2D g) |
apply
public java.awt.Shape getShape()
public boolean isFill()
public void replay(java.awt.Graphics2D g)
replay
in interface GraphicsOp
replay
in class GraphicsOp.ActionOp