Constants

smile.infrastructure.Constants
object Constants

Provides constants for use throughout the library, particularly for dealing with angles and colors.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Constants.type

Members list

Value members

Concrete fields

val BlueRange: Inclusive

Range for valid values of the blue color component of an RGB color.

Range for valid values of the blue color component of an RGB color.

Attributes

val DefaultShadingFactor: Double
val DefaultTintingFactor: Double

The factor the amount of which colors are tinted by the lighter() method.

The factor the amount of which colors are tinted by the lighter() method.

Attributes

val Deg60InRad: Double

60 degrees in radians.

60 degrees in radians.

Attributes

Number of degrees representing a full circle.

Number of degrees representing a full circle.

Attributes

val FullyOpaque: Int

Color component value representing maximal opacity.

Color component value representing maximal opacity.

Attributes

val FullyTransparent: Int

Color component value representing minimal opacity.

Color component value representing minimal opacity.

Attributes

val GrayRange: Inclusive

Range for valid values of gray color component.

Range for valid values of gray color component.

Attributes

val GreenRange: Inclusive

Range for valid values of the green color component of an RGB color.

Range for valid values of the green color component of an RGB color.

Attributes

val MaximumBlue: Int

An RGB color component value representing maximal amount of blue.

An RGB color component value representing maximal amount of blue.

Attributes

val MaximumGray: Int

A color component value representing maximal amount of gray.

A color component value representing maximal amount of gray.

Attributes

val MaximumGreen: Int

An RGB color component value representing maximal amount of green.

An RGB color component value representing maximal amount of green.

Attributes

val MaximumHSIHue: Double

Color component value representing end of the hue cycle.

Color component value representing end of the hue cycle.

Attributes

val MaximumHSIIntensity: Double

Color component value representing maximal amount of intensity.

Color component value representing maximal amount of intensity.

Attributes

val MaximumHSISaturation: Double

Color component value representing maximal amount of saturation.

Color component value representing maximal amount of saturation.

Attributes

val MaximumHSVHue: Double

Color component value representing end of the hue cycle.

Color component value representing end of the hue cycle.

Attributes

val MaximumHSVSaturation: Double

Color component value representing maximal amount of saturation.

Color component value representing maximal amount of saturation.

Attributes

val MaximumHSVValue: Double

Color component value representing maximal amount of intensity.

Color component value representing maximal amount of intensity.

Attributes

val MaximumNormalizedBlue: Double

Color component value representing normalized maximal amount of blue.

Color component value representing normalized maximal amount of blue.

Attributes

val MaximumNormalizedGray: Double

Color component value representing normalized maximal amount of gray.

Color component value representing normalized maximal amount of gray.

Attributes

Color component value representing normalized maximal amount of green.

Color component value representing normalized maximal amount of green.

Attributes

Color component value representing normalized maximal opacity.

Color component value representing normalized maximal opacity.

Attributes

val MaximumNormalizedRed: Double

Color component value representing normalized maximal amount of red.

Color component value representing normalized maximal amount of red.

Attributes

val MaximumOpacity: Int

An RGBA color component value representing maximal opacity.

An RGBA color component value representing maximal opacity.

Attributes

val MaximumRed: Int

An RGB color component value representing maximal amount of red.

An RGB color component value representing maximal amount of red.

Attributes

val MinimumBlue: Int

An RGB color component value representing minimal amount of blue.

An RGB color component value representing minimal amount of blue.

Attributes

val MinimumGray: Int

A color component value representing minimal amount of gray.

A color component value representing minimal amount of gray.

Attributes

val MinimumGreen: Int

An RGB color component value representing minimal amount of green.

An RGB color component value representing minimal amount of green.

Attributes

val MinimumHSIHue: Double

Color component value representing start of the hue cycle.

Color component value representing start of the hue cycle.

Attributes

val MinimumHSIIntensity: Double

Color component value representing minimal amount of intensity.

Color component value representing minimal amount of intensity.

Attributes

val MinimumHSISaturation: Double

Color component value representing minimal amount of saturation.

Color component value representing minimal amount of saturation.

Attributes

val MinimumHSVHue: Double

Color component value representing start of the hue cycle.

Color component value representing start of the hue cycle.

Attributes

val MinimumHSVSaturation: Double

Color component value representing minimal amount of saturation.

Color component value representing minimal amount of saturation.

Attributes

val MinimumHSVValue: Double

Color component value representing minimal amount of intensity.

Color component value representing minimal amount of intensity.

Attributes

val MinimumNormalizedBlue: Double

Color component value representing normalized minimal amount of blue.

Color component value representing normalized minimal amount of blue.

Attributes

val MinimumNormalizedGray: Double

Color component value representing normalized minimal amount of gray.

Color component value representing normalized minimal amount of gray.

Attributes

Color component value representing normalized minimal amount of green.

Color component value representing normalized minimal amount of green.

Attributes

Color component value representing normalized minimal opacity.

Color component value representing normalized minimal opacity.

Attributes

val MinimumNormalizedRed: Double

Color component value representing normalized minimal amount of red.

Color component value representing normalized minimal amount of red.

Attributes

val MinimumOpacity: Int

An RGBA color component value representing minimal opacity.

An RGBA color component value representing minimal opacity.

Attributes

val MinimumRed: Int

An RGB color component value representing minimal amount of red.

An RGB color component value representing minimal amount of red.

Attributes

Number of degrees representing a half of a circle.

Number of degrees representing a half of a circle.

Attributes

Number of degrees representing a quarter of a circle in the clockwise direction.

Number of degrees representing a quarter of a circle in the clockwise direction.

Attributes

Number of degrees representing a quarter of a circle in the counter-clockwise direction.

Number of degrees representing a quarter of a circle in the counter-clockwise direction.

Attributes

Number of degrees representing a full circle.

Number of degrees representing a full circle.

Attributes

val OpacityRange: Inclusive

Range for valid values of the opacity color component of an RGBA color.

Range for valid values of the opacity color component of an RGBA color.

Attributes

val RedRange: Inclusive

Range for valid values of the red color component of an RGB color.

Range for valid values of the red color component of an RGB color.

Attributes

val UndefinedHSIHue: Double

Color component value representing an undefined hue (at the center of the hue cycle).

Color component value representing an undefined hue (at the center of the hue cycle).

Attributes

val UndefinedHSVHue: Double

Color component value representing an undefined hue (at the center of the hue cycle).

Color component value representing an undefined hue (at the center of the hue cycle).

Attributes