Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.fop.util
Class AbstractPaintingState.AbstractData

    java.lang.Object
      org.apache.fop.util.AbstractPaintingState.AbstractData

All Implemented Interfaces:
  java.lang.Cloneable, java.io.Serializable

Enclosing class:
  AbstractPaintingState

public abstract class AbstractPaintingState.AbstractData
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

A base painting state data holding object

See Also:
  Serialized Form

Field Summary
`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 Summary
`AbstractPaintingState.AbstractData()`

Method Summary
`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()`

Methods inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### color

    protected java.awt.Color color

  The current color

### backColor

    protected java.awt.Color backColor

  The current background color

### fontName

    protected java.lang.String fontName

  The current font name

### fontSize

    protected int fontSize

  The current font size

### lineWidth

    protected float lineWidth

  The current line width

### dashArray

    protected float[] dashArray

  The dash array for the current basic stroke (line type)

### transform

    protected java.awt.geom.AffineTransform transform

  The current transform

Constructor Detail

### AbstractPaintingState.AbstractData

    public AbstractPaintingState.AbstractData()

Method Detail

### instantiate

    protected abstract AbstractPaintingState.AbstractData instantiate()

  Returns a newly create data object

  Returns:
    a new data object

### concatenate

    public void concatenate(java.awt.geom.AffineTransform at)

  Concatenate the given AffineTransform with the current thus creating a new viewport. Note that all concatenation operations are logged so they can be replayed if necessary (ex. for block-containers with "fixed" positioning.

  Parameters:
    `at` - Transformation to perform

### getTransform

    public java.awt.geom.AffineTransform getTransform()

  Get the current AffineTransform.

  Returns:
    the current transform

### setTransform

    public void setTransform(java.awt.geom.AffineTransform baseTransform)

  Sets the current AffineTransform.

### clearTransform

    public void clearTransform()

  Resets the current AffineTransform.

### getDerivedRotation

    public int getDerivedRotation()

  Returns the derived rotation from the current transform

  Returns:
    the derived rotation from the current transform

### clone

    public java.lang.Object clone()

### toString

    public java.lang.String toString()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.