getMarkerSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(global args)
(syntax format)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the size of a given marker. |= Description
| Returns the size of the given marker. A getter for [[seMarkerSize]] and an alias of [[markerSize]].|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Array]] <nowiki>=</nowiki> '''getMarkerSize''' markerName |= Syntax
| '''getMarkerSize''' markerName |= Syntax


|p1= markerName: [[String]]  |= Parameter 1
|p1= markerName: [[String]]  |= Parameter 1


| [[Array]] -
| [[Array]] - in format [a-axis, b-axis], where:
The returned array contains two values: [a,b] where a is the size in the markers x-axis, b the size in its y-axis (in meters). |= Return value
* a-axis: [[Number]] - 1/2 width of marker
* b-axis: [[Number]] - 1/2 height of marker |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   

Revision as of 13:04, 25 February 2017

Hover & click on the images for description

Description

Description:
Returns the size of the given marker. A getter for seMarkerSize and an alias of markerSize.
Groups:
Uncategorised

Syntax

Syntax:
getMarkerSize markerName
Parameters:
markerName: String
Return Value:
Array - in format [a-axis, b-axis], where:
  • a-axis: Number - 1/2 width of marker
  • b-axis: Number - 1/2 height of marker

Examples

Example 1:
"MarkerOne" setMarkerSize [100,200]

_size = getMarkerSize "MarkerOne"
returns [100,200]

Additional Information

See also:
setMarkerSizesetMarkerBrushsetMarkerColorsetMarkerDirsetMarkerPossetMarkerShapecreateMarkersetMarkerTextsetMarkerTypesetMarkerAlpha

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section