DRAW.POLYGON
Define a graphical polygon.
Syntax
=DRAW.POLYGON(X, Y, Width, Height, [LineColor], [FillColor], [Angle], [PointRange], [Close])
Arguments
Name | Description |
---|---|
X | X Coordinate in 1/100th mm |
Y | Y Coordinate in 1/100th mm |
Width | Width in 1/100th mm |
Height | Height in 1/100th mm |
LineColor (optional) | Options: - None for no line - Hexadecimal color value ( #FF0000 for Red) |
FillColor (optional) | Hexadecimal color value (#FF0000 for Red) |
Angle (optional) | Angle in radians. |
PointRange (optional) | Cell Range with coordinates. A coordinate is defined by a fraction of the width and height of the bezier ranging from 0 to . 1 would place the coordinate at the bottom or right corner of the object. The range must have 2 columns. The left column contains the x coordinates and the right column the y coordinates. If the object was drawn using the mouse or one of the predefined objects was used, the given coordinates will be used, as long as no coordinates are defined using this parameter. |
Close (optional) | Close bezier curve by connecting the first and last point (Default: TRUE) |
Return
TRUE, if polygon could be created.
Hint
This function should not be used in a cell
Examples
Formula | Result | Comment |
---|---|---|
| TRUE | Draw a polygon using the given coordinates. |