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 Editor de diagramas / Tipos de variables
  • Properties specific to diagShape variables
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
The diagBorder type is used to define all the advanced characteristics of a border (or borders) of a shape used in a diagram. You can define and change the characteristics of this border using different WLanguage properties.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
CAUTION: This type must not be used directly. It must be used only via the diagShape type (or one of its derived types).
Ejemplo
// Create a rectangle shape
MyShape is diagRectangle

// Set the dimensions, position and background color
MyShape.X = 100
MyShape.Y = 100
MyShape.Width = 350
MyShape.Height = 150
MyShape.Background.Color = PastelRed
MyShape.Border.Color = Black
MyShape.Border.Thickness = 2
MyShape.Border.Type = LineDash

// Reference the displayed diagram
MyDiagram is Diagram <- DIAGEDT_MyDiagram

// Add the rectangle shape to the diagram
Add(MyDiagram.Shape, MyShape)
Propiedades

Properties specific to diagShape variables

The following properties can be used to handle the border of a shape:
Property nameType usedEffect
ColorIntegerBorder color.
Esta propiedad puede corresponder a:
  • un color RGB (devuelto por la función RGB),
  • un color HSL (devuelto por la función HSL),
  • un color predefinido de WLanguage.
  • una variable de tipo Color. En este caso, se tiene en cuenta la opacidad especificada en la variable.
ThicknessRealBorder line thickness.
TypeIntegerType of the border line:
  • LineSolid:
  • LineDotted:
  • LineDash:
Versión mínima requerida
  • Versión 27
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

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