Class org.aswing.ASFont

Description

ASFont

Field Index

DEFAULT_NAME, DEFAULT_SIZE

Method Index

new ASFont()
getASFont(), getASFontFromASTextFormat(), getASTextFormat(), getBold(), getEmbedFonts(), getFeatures(), getItalic(), getName(), getSize(), getUnderline(), setEmbedFonts(), toString()

Constructor Detail

ASFont

public function ASFont(_name:String, _size:Number, _bold:Boolean, _italic:Boolean, _underline:Boolean, _embedFonts:Boolean)

Create a ASFont by parameters : name, size, blod, italic, underline, embedFonts, Each of can be missed, a default value will be set, if missed.

Field Detail

DEFAULT_NAME

static public DEFAULT_NAME:String
default values

DEFAULT_SIZE

static public DEFAULT_SIZE:Number

Method Detail

getASFont

static public function getASFont(_name:String, _size:Number):ASFont

getASFontFromASTextFormat

static public function getASFontFromASTextFormat(ASTF:ASTextFormat):ASFont

getName

public function getName():String

getSize

public function getSize():Number

getBold

public function getBold():Boolean

getItalic

public function getItalic():Boolean

getUnderline

public function getUnderline():Boolean

setEmbedFonts

public function setEmbedFonts(b:Boolean):Void

getEmbedFonts

public function getEmbedFonts():Boolean

getFeatures

public function getFeatures():HashMap

Return

a HashMap which contains the feature's value

getASTextFormat

public function getASTextFormat():ASTextFormat

toString

public function toString():String