public abstract class AbstractPaintingState.AbstractData
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and 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 float |
lineWidth
The current line width
|
protected java.awt.geom.AffineTransform |
transform
The current transform
|
Constructor and Description |
---|
AbstractPaintingState.AbstractData() |
Modifier and Type | Method and 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.awt.geom.AffineTransform |
getTransform()
Get the current AffineTransform.
|
protected abstract AbstractPaintingState.AbstractData |
instantiate()
Returns a newly create data object
|
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 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)
public void clearTransform()
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-2010 The Apache Software Foundation. All Rights Reserved.