com.levigo.jadice.document.creator
Interface GraphicalStateFactory


public interface GraphicalStateFactory


Method Summary
 GraphicalState create()
           
 AffineTransform getEffectiveTransform()
          the effective transform of this graphical state.
 String getFontFamilyName()
           
 float getFontSize()
           
 AffineTransform getLocalTransform()
          the local transform.
 int[] getNonStrokingColorRGB()
           
 int[] getStrokingColorRGB()
           
 GraphicalStateFactory setFontFamilyName(String fontFamilyName)
           
 GraphicalStateFactory setFontSize(float fontSize)
           
 GraphicalStateFactory setLocalTransform(AffineTransform affineTransform)
           
 GraphicalStateFactory setNonStrokingColorRGB(int r, int g, int b)
           
 GraphicalStateFactory setNonStrokingColorRGBA(int r, int g, int b, int a)
           
 GraphicalStateFactory setStrokingColorRGB(int r, int g, int b)
           
 GraphicalStateFactory setStrokingColorRGBA(int r, int g, int b, int a)
           
 

Method Detail

setStrokingColorRGB

GraphicalStateFactory setStrokingColorRGB(int r,
                                          int g,
                                          int b)

setNonStrokingColorRGB

GraphicalStateFactory setNonStrokingColorRGB(int r,
                                             int g,
                                             int b)

setStrokingColorRGBA

GraphicalStateFactory setStrokingColorRGBA(int r,
                                           int g,
                                           int b,
                                           int a)

setNonStrokingColorRGBA

GraphicalStateFactory setNonStrokingColorRGBA(int r,
                                              int g,
                                              int b,
                                              int a)

create

GraphicalState create()

setFontFamilyName

GraphicalStateFactory setFontFamilyName(String fontFamilyName)

getFontFamilyName

String getFontFamilyName()

setLocalTransform

GraphicalStateFactory setLocalTransform(AffineTransform affineTransform)

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

setFontSize

GraphicalStateFactory setFontSize(float fontSize)

getFontSize

float getFontSize()


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