Packagestimulsoft.flex.base
Classpublic class StiFont
InheritanceStiFont Inheritance StiObject Inheritance Object
Implements IStiSerializableToProperty



Public Properties
 PropertyDefined By
  bold : Boolean
[read-only]
StiFont
  fontFamily : StiFontFamily
[read-only]
StiFont
  italic : Boolean
[read-only]
StiFont
  name : String
[read-only]
StiFont
  size : Number
[read-only]
StiFont
  sizeInPixel : Number
[read-only]
StiFont
  strikeout : Boolean
[read-only]
StiFont
  style : int
[read-only]
StiFont
  underline : Boolean
[read-only]
StiFont
  unit : String
[read-only]
StiFont
Public Methods
 MethodDefined By
  
StiFont(family:* = Arial, emSize:Number = 10, unit:String = Point, style:int = 0)
StiFont
  
clone(... args):Object
[override]
StiFont
  
convertSizeToPixel(size:Number, fromUnit:String):Number
[static]
StiFont
  
deserialize(value:String):void
StiFont
  
equals(object:Object):Boolean
[override]
StiFont
 Inherited
Get a short object type name (without library path).
StiObject
 Inherited
getType():Class
StiObject
 Inherited
getTypeName():String
StiObject
 Inherited
isSimple(object:*):Boolean
[static]
StiObject
  
[override]
StiFont
  
serialize():String
StiFont
Property Detail
boldproperty
bold:Boolean  [read-only]


Implementation
    public function get bold():Boolean
fontFamilyproperty 
fontFamily:StiFontFamily  [read-only]


Implementation
    public function get fontFamily():StiFontFamily
italicproperty 
italic:Boolean  [read-only]


Implementation
    public function get italic():Boolean
nameproperty 
name:String  [read-only]


Implementation
    public function get name():String
sizeproperty 
size:Number  [read-only]


Implementation
    public function get size():Number
sizeInPixelproperty 
sizeInPixel:Number  [read-only]


Implementation
    public function get sizeInPixel():Number
strikeoutproperty 
strikeout:Boolean  [read-only]


Implementation
    public function get strikeout():Boolean
styleproperty 
style:int  [read-only]


Implementation
    public function get style():int
underlineproperty 
underline:Boolean  [read-only]


Implementation
    public function get underline():Boolean
unitproperty 
unit:String  [read-only]


Implementation
    public function get unit():String
Constructor Detail
StiFont()Constructor
public function StiFont(family:* = Arial, emSize:Number = 10, unit:String = Point, style:int = 0)



Parameters
family:* (default = Arial)
 
emSize:Number (default = 10)
 
unit:String (default = Point)
 
style:int (default = 0)
Method Detail
clone()method
override public function clone(... args):Object

Parameters

... args

Returns
Object
convertSizeToPixel()method 
public static function convertSizeToPixel(size:Number, fromUnit:String):Number

Parameters

size:Number
 
fromUnit:String

Returns
Number
deserialize()method 
public function deserialize(value:String):void

Parameters

value:String

equals()method 
override public function equals(object:Object):Boolean

Parameters

object:Object

Returns
Boolean
memberwiseClone()method 
override public function memberwiseClone():Object

Returns
Object
serialize()method 
public function serialize():String

Returns
String