AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de controles
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
ShapePolygon (Function)
Modifies the shape currently displayed in a Shape control to get a custom shape (by specifying the coordinates of polygon points).
Allows you to create your own shapes (to create charts for example).
Ejemplo
T1 is array of int = [5,5,5,505,505,505,505,5]
ShapePolygon(FRM_SansNom1, T1)
tabPoints is array of int = ...
[10,10,
1000,10,
1000,800,
900,800,
700,1000,
750,800,
10,800]

ShapePolygon(FRM_SansNom1, tabPoints)

FRM_SansNom1.CouleurFond = PastelOrange
FRM_SansNom1.Couleur = DarkOrange
Sintaxis
ShapePolygon(<Shape control> , <Points>)
<Shape control>: Control name
Shape control to use.
<Points>: Array of integers or array of points
Array ot integers or array of Point variables containing the waypoints of 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 points.
Observaciones
The X and Y positions are relative to the control size 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 and last points indicated are automatically connected..
Componente: wd300obj.dll
Ver también
Versión mínima requerida
  • Versión 21
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local