com.levigo.jadice.document.creator
Interface GraphicalState


public interface GraphicalState


Method Summary
 GraphicalStateFactory createSubGraphicalStateFactory()
           
 void fillShape(Shape shape)
           
 void fillText(float x, float y, String text)
           
 AffineTransform getEffectiveTransform()
          the effective transform of this graphical state.
 String getFontFamilyName()
           
 float getFontSize()
           
 AffineTransform getLocalTransform()
          the local transform.
 int[] getNonStrokingColorRGB()
           
 GraphicalState getParent()
          returns the parent or null if this is the root GraphicalState.
 int[] getStrokingColorRGB()
           
 void strokeAndFillShape(Shape shape)
           
 void strokeShape(Shape shape)
           
 

Method Detail

getStrokingColorRGB

int[] getStrokingColorRGB()

getNonStrokingColorRGB

int[] getNonStrokingColorRGB()

getLocalTransform

AffineTransform getLocalTransform()
the local transform. This the transformation applied to the this GraphicalState without the concatenation of parent AffineTransforms.

Returns:
the local transform

getEffectiveTransform

AffineTransform getEffectiveTransform()
the effective transform of this graphical state. The effective transform is a concatenation of all transformations of the parent GraphicalStates.

Returns:
the effective transform

fillShape

void fillShape(Shape shape)

strokeShape

void strokeShape(Shape shape)

strokeAndFillShape

void strokeAndFillShape(Shape shape)

fillText

void fillText(float x,
              float y,
              String text)

createSubGraphicalStateFactory

GraphicalStateFactory createSubGraphicalStateFactory()

getParent

GraphicalState getParent()
returns the parent or null if this is the root GraphicalState.

Returns:
the parent or null

getFontFamilyName

String getFontFamilyName()

getFontSize

float getFontSize()


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.