Constructor and Description |
---|
PaintableTransform(java.awt.geom.AffineTransform transform,
boolean reset) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PaintableVisitor visitor)
Accept a visitor.
|
java.awt.geom.AffineTransform |
getTransform()
Get the transformation.
|
boolean |
isReset()
Is this a resetting transformation?
|
void |
paintTo(java.awt.Graphics2D g2,
Context context)
Paint this object to the given graphics context.
|
public PaintableTransform(@Nullable java.awt.geom.AffineTransform transform, boolean reset)
public void paintTo(@NotNull java.awt.Graphics2D g2, @NotNull Context context)
Paintable
public void accept(@NotNull PaintableVisitor visitor)
Paintable
@Nullable public java.awt.geom.AffineTransform getTransform()
public boolean isReset()
true
: if this uses Graphics2D.setTransform(AffineTransform)
false
: if this uses Graphics2D.transform(AffineTransform)