Module: CTioga::Styles

Includes:
Tioga::FigureConstants
Defined in:
lib/CTioga/styles.rb

Overview

This module holds a lot of constants for styles.

Defined Under Namespace

Classes: CTiogaColorParameter, CTiogaLineStyleParameter, CTiogaMarkerParameter

Constant Summary collapse

COLORS =
{ 
  "standard" => 
  [Red, Green, Blue, Cyan, Magenta, Orange],
  "pastel1" => 
  [MediumSeaGreen, RoyalBlue, Pumpkin, DarkChocolate, Lilac, Crimson],
  "colorblind" => 
  [BrightBlue, Goldenrod, Coral, Lilac, FireBrick, RoyalPurple],
}
MARKERS =

The sets of markers.

{ 
  "standard" => 
  [Bullet, TriangleUp, Square, Plus, Times],
  "open" => 
  [BulletOpen, TriangleUpOpen, SquareOpen, PlusOpen, TimesOpen],
}
Line_Type_Dash_Dot_Dot =
[[5,2,1,2,1,2],0]
Line_Type_Small_Dots =
[[0.5,1],0]
LINES =

Linestyles.

{
  "standard" => 
  [Line_Type_Solid, 
   Line_Type_Dots, 
   Line_Type_Dashes, 
   Line_Type_Small_Dots,
   Line_Type_Dot_Long_Dash,
   Line_Type_Dash_Dot_Dot
  ],
}
Solid =

Shortcut for line styles:

Line_Type_Solid
Dots =
Line_Type_Dots
Dashes =
Line_Type_Dashes
Small_Dots =
Line_Type_Small_Dots
Dot_Long_Dash =
Line_Type_Dot_Long_Dash
Dash_Dot_Dot =
Line_Type_Dash_Dot_Dot