com.levigo.jadice.document.creator
Interface GraphicalState


public interface GraphicalState


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

Method Detail

getColorRGB

int[] getColorRGB()

getFillingColorRGB

int[] getFillingColorRGB()

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)

drawShape

void drawShape(Shape shape)

drawAndFillShape

void drawAndFillShape(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 © 2017 levigo holding gmbh. All rights reserved.