net.sourceforge.plantuml.ugraphic
Class UFont

java.lang.Object
  extended by net.sourceforge.plantuml.ugraphic.UFont

public class UFont
extends Object


Constructor Summary
UFont(String fontFamily, int fontStyle, int fontSize)
           
 
Method Summary
 UFont deriveSize(float size)
           
 UFont deriveStyle(int style)
           
 boolean equals(Object obj)
           
static UFont getCurrentFont(Graphics2D g2d)
          Deprecated. 
 String getFamily(UFontContext context)
           
 Font getFont()
           
 int getSize()
           
 double getSize2D()
           
 int getStyle()
           
 int hashCode()
           
 boolean isBold()
           
 boolean isItalic()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UFont

public UFont(String fontFamily,
             int fontStyle,
             int fontSize)
Method Detail

getFont

public final Font getFont()

deriveSize

public UFont deriveSize(float size)

deriveStyle

public UFont deriveStyle(int style)

getStyle

public int getStyle()

getSize

public int getSize()

getSize2D

public double getSize2D()

isBold

public boolean isBold()

isItalic

public boolean isItalic()

getFamily

public String getFamily(UFontContext context)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getCurrentFont

@Deprecated
public static UFont getCurrentFont(Graphics2D g2d)
Deprecated. 



Copyright © 2013. All Rights Reserved.