.PlanarMechanics.Types.Color

RGB representation of color (will be improved with a color editor)

Information

Type Color is an Integer vector with 3 elements, {r, g, b}, and specifies the color of a shape. {r,g,b} are the "red", "green" and "blue" color parts. Note, r g, b are given in the range 0 .. 255.

Definition

type Color = Modelica.Icons.TypeInteger[3](each min = 0, each max = 255);

Revisions

DLR logo Developed 2010 at the DLR Institute of System Dynamics and Control


Generated at 2025-04-01T18:24:36Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos