class org.aswing.EmptyFont extends ASFont

EmptyFont is a font that will not change text field's format.

Instance Fields

Show inherited public instance fieldsHide inherited public instance fields

Inherited from ASFont

var bold:Bool
var italic:Bool
var name:String
var size:Int
var underline:Bool
function apply(textField:TextField, ?beginIndex:Int, ?endIndex:Int):Void
function changeBold(bold:Bool):ASFont
function changeItalic(italic:Bool):ASFont
function changeName(name:String):ASFont
function changeSize(size:Int):ASFont
function changeUnderline(underline:Bool):ASFont
function clone():ASFont
function computeTextSize(text:String, ?includeGutters:Bool):IntDimension
function getAdvancedProperties():ASFontAdvProperties
function getTextFormat():TextFormat
function isEmbedFonts():Bool
function toString():String

function new(): Void

function apply(textField:TextField, ?beginIndex:Int = -1, ?endIndex:Int = -1): Void

Do nothing here.

textField

the text filed to be applied font.

beginIndex

The zero-based index position specifying the first character of the desired range of text.

endIndex

The zero-based index position specifying the last character of the desired range of text.

function getTextFormat(): TextFormat

Returns new TextFormat().

returnsnew TextFormat().