# Type Alias RendererObjectPolygon

RendererObjectPolygon: Record<string, {
symbol: {
color?: number[];
outline?: {
color: number[];
width?: number;
};
style:
| "none"
| "solid"
| "dash"
| "dot"
| "dash-dot"
| "long-dash"
| "long-dash-dot"
| "short-dash"
| "dash-dot"
| "short-dash-dot";
type: "simple-fill";
};
value: string;
}>

Renderer definition for polygon entities. Used to visualize DXF closed shapes and filled areas.

#### Type declaration

- ##### symbol: {
  color?: number[];
  outline?: {
  color: number[];
  width?: number;
  };
  style:
  | "none"
  | "solid"
  | "dash"
  | "dot"
  | "dash-dot"
  | "long-dash"
  | "long-dash-dot"
  | "short-dash"
  | "dash-dot"
  | "short-dash-dot";
  type: "simple-fill";
  }

  Symbol definition for rendering polygons.

  - ##### `Optional` color?: number[]

    Optional RGBA fill color.

  - ##### `Optional` outline?: {
    color: number[];
    width?: number;
    }

    Optional outline definition for polygon borders.

    - ##### color: number[]

      Outline color as RGBA.

    - ##### `Optional` width?: number

      Outline width in pixels or map units.

  - ##### style:
    | "none"
    | "solid"
    | "dash"
    | "dot"
    | "dash-dot"
    | "long-dash"
    | "long-dash-dot"
    | "short-dash"
    | "dash-dot"
    | "short-dash-dot"

    Fill style, can be solid or none.

  - ##### type: "simple-fill"

    Symbol type, always "simple-fill" for polygons.

- ##### value: string

  The renderer value (usually layer name).