Defines properties shared by all DXF component dxfContext. Used to configure renderers, color mappings, and spatial references for visualizing DXF data within a mapping or rendering system.

interface DxfJsonComponentProperties {
    dxf?: Record<string, unknown>;
    layerColor?: string;
    renderer_Object_Line?: Record<string, unknown>;
    renderer_Object_Point?: Record<string, unknown>;
    renderer_Object_Polygon?: Record<string, unknown>;
    sourceSR?: SpatialReference;
    targetSR?: SpatialReference;
}

Properties

dxf?: Record<string, unknown>

Raw parsed DXF data structure.

layerColor?: string

Default color applied to DXF layers.

renderer_Object_Line?: Record<string, unknown>

Renderer configuration for line entities.

renderer_Object_Point?: Record<string, unknown>

Renderer configuration for point entities.

renderer_Object_Polygon?: Record<string, unknown>

Renderer configuration for polygon entities.

sourceSR?: SpatialReference

The source spatial reference of the DXF data.

targetSR?: SpatialReference

The target spatial reference used for projection or rendering.