ONLINE HELPFOR WINDEV, WEBDEV AND WINDEV MOBILE Version: 151617181920212223
 Home | Sign in | English
 WINDEV WEBDEV WINDEV Mobile Others ShapePolygon (Function) In French: FormePolygone Transforms a Shape control into a free shape (by specifying its points).Example T1 is array of int = [5,5,5,505,505,505,505,5]ShapePolygon(SHA_NoName1, T1) arrPoints is array of int = ...[10,10,1000,10,1000,800,900,800,700,1000,750,800,10,800]ShapePolygon(SHA_NoName1, arrPoints)SHA_NoName1..BrushColor = PastelOrangeSHA_NoName1..Color = DarkOrange Syntax ShapePolygon( , ) : Character string (with or without quotes)Shape control to use. : Array of integers or array of pointsArray ot integers or array of Point variables containing the passing points of the polygon.If this array is an array of integers, the even subscript represent the X coordinates while the odd subscripts represent the Y coordinates of the points.Remarks The X and Y positions are relative to the size of the control and they are expressed in 1/1000.The initial shape is included in an area identified by a marker from (0,0) to (1000, 1000). The coordinates of the points in the new shape must be given according to this marker.Note: The first point and the last point are automatically linked.Components wd230obj.dll See also Minimum required version Version 21 This page is also available for…
 Comments
 Click [Add] to post a comment
 Registered trademarks. Copyright ©2009-2018 PC SOFT. All rights reservedThis website has been developed with WEBDEV and HFSQLWEBDEV, WINDEV Mobile and WINDEV programming