Previous Document Next Document
Layer.CreatePolygon2

Function CreatePolygon2(CenterX As Double, CenterY As Double, Radius As Double, Sides As Long, [Angle As Double], [InnerRadius As Double], [Star As Boolean = False], [Sharpness As Long]) As Shape

Member of Layer

The CreatePolygon2 method creates a symmetical polygon using a center point and radius.

Parameters
Description
CenterX
CenterY
Radius
Sides
Angle
This parameter is optional, and its default value is 0.
InnerRadius
This parameter is optional, and its default value is 0.
Star
This parameter is optional, and its default value is False.
Sharpness
This parameter is optional, and its default value is 0.

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.