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