Parasol Framework
  • Gallery
  • API
  • Wiki
  • GitHub
    • Audio
    • Core
    • Display
    • Fluid
    • Font
    • Network
    • Vector
    • Audio
    • Sound
    • File
    • MetaClass
    • Module
    • StorageDevice
    • Task
    • Thread
    • Time
    • Compression
    • Config
    • Script
    • XML
    • Controller
    • BlurFX
    • ColourFX
    • CompositeFX
    • ConvolveFX
    • DisplacementFX
    • FilterEffect
    • FloodFX
    • ImageFX
    • LightingFX
    • MergeFX
    • MorphologyFX
    • OffsetFX
    • RemapFX
    • SourceFX
    • TurbulenceFX
    • WaveFunctionFX
    • Scintilla
    • ScintillaSearch
    • Bitmap
    • Clipboard
    • Display
    • Document
    • Font
    • Picture
    • Pointer
    • Surface
    • SVG
    • ClientSocket
    • HTTP
    • NetSocket
    • Proxy
    • Vector
    • VectorClip
    • VectorColour
    • VectorEllipse
    • VectorFilter
    • VectorGradient
    • VectorGroup
    • VectorImage
    • VectorPath
    • VectorPattern
    • VectorPolygon
    • VectorRectangle
    • VectorScene
    • VectorShape
    • VectorSpiral
    • VectorText
    • VectorTransition
    • VectorViewport
    • VectorWave

VectorColour Class

This is a stub class for use with the Vector module's DrawPath() function.

VectorColour is a stub class for exclusive use with the Vector module's DrawPath() function, for use in either the StrokeStyle or FillStyle parameters. VectorColour allows the path to be drawn with a solid colour, as specified in the Red, Green, Blue and Alpha fields.

Structure

The VectorColour class consists of the following fields:

Access
NameTypeComment
  AlphaDOUBLEThe alpha component value.

The alpha component value, measured from 0 to 1.0. The default is 1.0.

  BlueDOUBLEThe blue component value.

The blue component value, measured from 0 to 1.0. The default is 0.0.

  GreenDOUBLEThe green component value.

The green component value, measured from 0 to 1.0. The default is 0.0.

  RedDOUBLEThe red component value.

The red component value, measured from 0 to 1.0. The default is 0.0.

VectorColour class documentation © Paul Manias © 2010-2025