com.levigo.jadice.document.creator
Interface GraphicalStateFactory


public interface GraphicalStateFactory


Method Summary
 GraphicalState create()
           
 int[] getColorRGB()
           
 AffineTransform getEffectiveTransform()
          the effective transform of this graphical state.
 int[] getFillingColorRGB()
           
 String getFontFamilyName()
           
 float getFontSize()
           
 AffineTransform getLocalTransform()
          the local transform.
 GraphicalStateFactory setColorRGB(int r, int g, int b)
           
 GraphicalStateFactory setColorRGBA(int r, int g, int b, int a)
           
 GraphicalStateFactory setFillingColorRGB(int r, int g, int b)
           
 GraphicalStateFactory setFillingColorRGBA(int r, int g, int b, int a)
           
 GraphicalStateFactory setFontFamilyName(String fontFamilyName)
           
 GraphicalStateFactory setFontSize(float fontSize)
           
 GraphicalStateFactory setLocalTransform(AffineTransform affineTransform)
           
 

Method Detail

setColorRGB

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

setFillingColorRGB

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

setColorRGBA

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

setFillingColorRGBA

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

create

GraphicalState create()

setFontFamilyName

GraphicalStateFactory setFontFamilyName(String fontFamilyName)

getFontFamilyName

String getFontFamilyName()

setLocalTransform

GraphicalStateFactory setLocalTransform(AffineTransform affineTransform)

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

setFontSize

GraphicalStateFactory setFontSize(float fontSize)

getFontSize

float getFontSize()


Copyright © 2017 levigo holding gmbh. All rights reserved.