Constructor and Description |
---|
PaintableRestoreTransform(int id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(PaintableVisitor visitor)
Accept a visitor.
|
int |
getId()
Get the ID of the restored transformation.
|
void |
paintTo(java.awt.Graphics2D g2,
Context context)
Paint this object to the given graphics context.
|
public PaintableRestoreTransform(int id)
id
- transformation IDpublic void paintTo(@NotNull java.awt.Graphics2D g2, @NotNull Context context)
Paintable
public void accept(@NotNull PaintableVisitor visitor)
Paintable
public int getId()