API Reference > imodeljs-frontend > Rendering > GraphicType GraphicType Enumeration Describes the type of a GraphicBuilder, which defines the coordinate system in which the builder's geometry is defined and controls the behavior of the RenderGraphic produced by the builder. note For those types for which depth-testing is disabled, the order in which the individual geometric primitives are drawn determines which geometry draws on top of other geometry. Within a GraphicList, each RenderGraphic is rendered in the order in which it appears in the list; and Within a single RenderGraphic, each geometric primitive is rendered in the ordered in which it was added to the GraphicBuilder. Members Name Value Description ViewBackground 0 Renders behind all other graphics. For example, the border of a SheetViewState is of this type.Coordinates: CoordSystem.View.RenderMode: SmoothShade.Lighting: none.Depth-testing: disabled.see Decorations.viewBackground Scene 1 Renders as if it were part of the scene. All of the ViewFlags applied to the view's normal geometry also applies to these types of decorations.Coordinates: CoordSystem.World.Lighting and RenderMode: from view.Depth-testing: enabled.see Decorations.normal. WorldDecoration 2 Renders within the scene, but ignores the view's ViewFlags.Coordinates: CoordSystem.World.Lighting: default.RenderMode: SmoothShade.Depth-testing: enabled.see Decorations.world. WorldOverlay 3 Renders as an overlay on top of the scene. These decorations differ from GraphicType.WorldDecoration only in that depth-testing is disabled.For example, the ACS triad and WindowAreaTool decorations are of this type.Coordinates: CoordSystem.World.RenderMode: SmoothShadeLighting: default.Depth-testing: disabled.Renders atop the scene. Coordinates: world. RenderMode: smooth. Lighting: none. Z-testing: disablednote Overlay decorations typically employ some degree of transparency to ensure that they do not fully obscure the scene.see Decorations.worldOverlay ViewOverlay 4 Renders as an overlay on top of the scene. These decorations differ from GraphicType.WorldOverlay only in that their geometry is defined in view coordinates rather than world.Coordinates: CoordSystem.View.RenderMode: SmoothShadeLighting: default.Depth-testing: disabled.note For more flexibility in defining view overlay decorations, consider using a CanvasDecorationList.see Decorations.viewOverlay Defined in core/frontend/src/render/GraphicBuilder.ts Line 27 Last Updated: 11 June, 2024