Difference between revisions of "ObjectType:rgbptr"
Jump to navigation
Jump to search
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== Description == | == Description == | ||
− | An [[ | + | An [[ObjectType:rgbptr|rgbptr]] is simply a <tt>pointer</tt> to an [[ObjectType:rgb|rgb]]. The type inherits [[ObjectType:rgb|rgb]], and can be used as if it ''were'' an [[ObjectType:rgb|rgb]]. |
== Members == | == Members == | ||
− | * [[ | + | * [[ObjectType:int64|int64]] '''Address''': The memory address of the actual rgb |
== Methods == | == Methods == | ||
Line 9: | Line 9: | ||
== Inherits == | == Inherits == | ||
− | * [[ | + | * [[ObjectType:rgb|rgb]] |
== Returns == | == Returns == | ||
Line 15: | Line 15: | ||
== Examples == | == Examples == | ||
+ | ===Display a rgb pointers address=== | ||
+ | *echo Memory Address: ${Point1.Address} | ||
+ | |||
+ | == Operates On == | ||
+ | <tt>_RGBCOLOR *</tt> | ||
+ | |||
+ | <small>See lstype.h</small> | ||
== See Also == | == See Also == | ||
− | + | {{LavishScript:ObjectType}} |
Latest revision as of 16:05, 8 July 2018
Contents
Description
An rgbptr is simply a pointer to an rgb. The type inherits rgb, and can be used as if it were an rgb.
Members
- int64 Address: The memory address of the actual rgb
Methods
(none)
Inherits
Returns
A hexadecimal value representing the color, in the form rrggbb. For example, "ff0000" is full red.
Examples
Display a rgb pointers address
- echo Memory Address: ${Point1.Address}
Operates On
_RGBCOLOR *
See lstype.h
See Also
LavishScript Object Types
- Text
- string - mutablestring - unistring
- Numbers
- byte - float - float64 - int - uint - int64
- Boolean (TRUE/FALSE)
- bool
- Pointers
- boolptr - byteptr - floatptr - float64ptr - intptr - uintptr - int64ptr - rgbptr - stringptr
- Containers
- objectcontainer - array - index - collection - queue - stack - set - variablescope
- JSON
- jsonobject - jsonarray - jsonvaluecontainer - jsonvalue
- Iteration
- iterator - jsoniterator
- Date/Time
- time
- File Handling
- filepath - file - filelist - filelistentry
- Tasks
- lavishmachine - Accessed via the Top-Level Object LMAC
- task - tasklibrary - taskmanager - tasktype - taskpulseargs - elmactaskstate