Skip to main content

Module presentation

Module presentation 

Source
Expand description

Presentation — the colour, transparency, layer, and visibility of a shape.

These surface as accessors on the geometry handles: .color(), .transparency(), .layer(), and .is_visible(). A style the reader cannot follow to a value — a complex style, or an unknown pre-defined colour name — is recorded via Scene::warnings rather than skipped silently.

Structs§

Rgb
An RGB colour with components in [0, 1].