Struct description doc comments first line.
Additional struct description documentation comments.
ExampleStruct(x:Number=1, y:Number=2) | Constructor doc comments first line. |
x():Number | Public field doc comments first line. |
y():Number | Public field doc comments first line. |
=(a:ExampleStruct, b:ExampleStruct):ExampleStruct | static Public static operator doc comments first line. |
+(a:ExampleStruct, b:ExampleStruct):ExampleStruct | static Public static operator doc comments first line. |
+=(b:ExampleStruct):void | Public operator doc comments first line. |
public function ExampleStruct(x:Number=1, y:Number=2)
Constructor doc comments first line.
This constructor takes two optional parameters. Not all constructors do. Some take none at all.
x:Number=1 | optional Value for the x component
|
y:Number=2 | optional Value for the y component
|
public x():Number
Public field doc comments first line.
public y():Number
Public field doc comments first line.
public operator static function =(a:ExampleStruct, b:ExampleStruct):ExampleStruct
Public static operator doc comments first line.
The assignment operator transfers the value of b
to a
, and returns a
.
a:ExampleStruct | The instance to update |
b:ExampleStruct | The instance to read from |
returns ExampleStruct | The first parameter is returned after being updated with the values of the second. |
public operator static function +(a:ExampleStruct, b:ExampleStruct):ExampleStruct
Public static operator doc comments first line.
The addition operator combines the values of b
and a
into a new instance.
a:ExampleStruct | The left-hand operand |
b:ExampleStruct | The right-hand operand |
returns ExampleStruct | A new instance is returned, created from the sums of the x and y components of the operands. |
public operator function +=(b:ExampleStruct):void
Public operator doc comments first line.
The addition with assignment operator combines the values of b
into this instance.
b:ExampleStruct | The right-hand operand to be added to this instance |
lsdoc
2018 pixeldroid
https://github.com/pixeldroid/lsdoc |
programming pages theme v0.5.10 (https://github.com/pixeldroid/programming-pages) |
s |
focus search bar ( enter to select, ▲ / ▼ to change selection) |
g a |
go to api |
g e |
go to examples |
g g |
go to guides |
h |
toggle this help ( esc also exits) |