Ir al contenido

ArchiStyle

Esta página aún no está disponible en tu idioma.

cda-developer-portal


cda-developer-portal / ArchiStyle

Defined in: domain/diagram.d.ts:24

Native visual styling of a diagram object, connection, or note — Archi’s own fillColor/lineColor/fontColor/font attributes, verbatim where possible. null fields mean the source XML did not set that attribute, not that parsing failed.

alpha: number | null

Defined in: domain/diagram.d.ts:53

Native alpha attribute — fill opacity, 0-255 (Archi’s own EMF default is 255, fully opaque). Only ever set on a DiagramObject, Group, DiagramModelReference, or Note — a Connection has no fill, so this is always null on connection styles. null here means the attribute was absent, not that opacity is 0.


fillColor: string | null

Defined in: domain/diagram.d.ts:26

Native fillColor attribute, e.g. "#ffffff".


font: string | null

Defined in: domain/diagram.d.ts:37

Verbatim native font attribute — Archi’s own SWT FontData string serialization (e.g. "1|Segoe UI|9.0|1|WINDOWS|..."), preserved as-is even when fontName/fontSize/fontStyle could not be decoded from it.


fontColor: string | null

Defined in: domain/diagram.d.ts:30

Native fontColor attribute, e.g. "#000000".


fontName: string | null

Defined in: domain/diagram.d.ts:39

Font family name decoded from font, or null if undecodable.


fontSize: number | null

Defined in: domain/diagram.d.ts:41

Font size in points decoded from font, or null if undecodable.


fontStyle: ArchiFontStyle | null

Defined in: domain/diagram.d.ts:43

Bold/italic flags decoded from font, or null if undecodable.


lineColor: string | null

Defined in: domain/diagram.d.ts:28

Native lineColor attribute, e.g. "#ff0000".


lineWidth: number | null

Defined in: domain/diagram.d.ts:45

Native lineWidth attribute (line thickness in pixels), or null if not set.