Difference between revisions of "ObjectType:rgbptr"

From Lavish Software Wiki
Jump to navigation Jump to search
m (Lax moved page DataType:rgbptr to ObjectType:rgbptr)
 
Line 1: Line 1:
 
== Description ==
 
== Description ==
An [[DataType:rgbptr|rgbptr]] is simply a <tt>pointer</tt> to an [[DataType:rgb|rgb]].  The type inherits [[DataType:rgb|rgb]], and can be used as if it ''were'' an [[DataType:rgb|rgb]].
+
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 ==
* [[DataType:int|int]] '''Address''': The memory address of the actual rgb
+
* [[ObjectType:int64|int64]] '''Address''': The memory address of the actual rgb
  
 
== Methods ==
 
== Methods ==
Line 9: Line 9:
  
 
== Inherits ==
 
== Inherits ==
* [[DataType:rgb|rgb]]
+
* [[ObjectType:rgb|rgb]]
  
 
== Returns ==
 
== Returns ==
Line 24: Line 24:
  
 
== See Also ==
 
== See Also ==
* [[LavishScript:Data Types|Data Types]]
+
{{LavishScript:ObjectType}}
 
 
[[Category:LavishScript]]
 

Latest revision as of 16:05, 8 July 2018

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