public abstract class AbstractPaintingState.AbstractData extends Object implements Cloneable, Serializable
Modifier and Type | Field and Description |
---|---|
protected Color |
backColor
The current background color
|
protected Color |
color
The current color
|
protected float[] |
dashArray
The dash array for the current basic stroke (line type)
|
protected String |
fontName
The current font name
|
protected int |
fontSize
The current font size
|
protected String |
layer
The current (optional content group) layer.
|
protected float |
lineWidth
The current line width
|
protected AffineTransform |
transform
The current transform
|
Constructor and Description |
---|
AbstractData() |
Modifier and Type | Method and Description |
---|---|
void |
clearTransform()
Resets the current AffineTransform.
|
Object |
clone() |
void |
concatenate(AffineTransform at)
Concatenate the given AffineTransform with the current thus creating
a new viewport.
|
int |
getDerivedRotation()
Returns the derived rotation from the current transform
|
String |
getLayer() |
AffineTransform |
getTransform()
Get the current AffineTransform.
|
protected abstract AbstractPaintingState.AbstractData |
instantiate()
Returns a newly create data object
|
void |
setLayer(String layer) |
void |
setTransform(AffineTransform baseTransform)
Sets the current AffineTransform.
|
String |
toString() |
protected Color color
protected Color backColor
protected String fontName
protected int fontSize
protected float lineWidth
protected float[] dashArray
protected AffineTransform transform
protected String layer
protected abstract AbstractPaintingState.AbstractData instantiate()
public void concatenate(AffineTransform at)
at
- Transformation to performpublic AffineTransform getTransform()
public void setTransform(AffineTransform baseTransform)
baseTransform
- the transformpublic void clearTransform()
public void setLayer(String layer)
public String getLayer()
public int getDerivedRotation()
Copyright © 2025 Apache Software Foundation. All rights reserved.