import { ASObject } from '@awayfl/avm2'; import { FontDescription } from './FontDescription'; import { FontMetrics } from './FontMetrics'; import { TextFormat } from '@awayjs/scene'; export declare class ElementFormat extends ASObject { static forceNativeConstructor: boolean; static forceNativeMethods: boolean; private _fontDescription; private _fontSize; private _color; private _alpha; private _textRotation; private _dominantBaseline; private _alignmentBaseline; private _baselineShift; private _kerning; private _trackingRight; private _trackingLeft; private _locale; private _breakOpportunity; private _digitCase; private _digitWidth; private _ligatureLevel; private _typographicCase; private _locked; private _id; constructor(fontDescription?: FontDescription, fontSize?: number, color?: number, alpha?: number, textRotation?: string, dominantBaseline?: string, alignmentBaseline?: string, baselineShift?: number, kerning?: string, trackingRight?: number, trackingLeft?: number, locale?: string, breakOpportunity?: string, digitCase?: string, digitWidth?: string, ligatureLevel?: string, typographicCase?: string); createAwayTextformat(): TextFormat; clone: () => ElementFormat; getBaseline(): string; get alignmentBaseline(): string; set alignmentBaseline(alignmentBaseline: string); get alpha(): number; set alpha(value: number); get baselineShift(): number; set baselineShift(value: number); get breakOpportunity(): string; set breakOpportunity(opportunityType: string); get color(): number; set color(value: number); get dominantBaseline(): string; set dominantBaseline(dominantBaseline: string); get fontDescription(): FontDescription; set fontDescription(value: FontDescription); get digitCase(): string; set digitCase(digitCaseType: string); get digitWidth(): string; set digitWidth(digitWidthType: string); get ligatureLevel(): string; set ligatureLevel(ligatureLevelType: string); get fontSize(): number; set fontSize(value: number); get kerning(): string; set kerning(value: string); get locale(): string; set locale(value: string); get textRotation(): string; set textRotation(value: string); get trackingRight(): number; set trackingRight(value: number); get trackingLeft(): number; set trackingLeft(value: number); get typographicCase(): string; set typographicCase(typographicCaseType: string); get locked(): boolean; set locked(value: boolean); getFontMetrics(): FontMetrics; } //# sourceMappingURL=ElementFormat.d.ts.map