Pie control

<< Click to Display Table of Contents >>

Manual > Screen Creation Guide > Basic Control Editing Method >

Pie control

Pie control (shape)

Pie control allows you to draw a sector shape.

 

1.From the control view, select the shape Pie control.
 
tra_0243
 
In the same way as when placing Ellipse control, place the mouse over the position you want to use as the start point of the "ellipse" you want to cut out the sector, and drag diagonally to the position you want to use as the end point.
 
As an example, try drawing from the top left to the bottom right.
 
tra_0229
 
The base of the sector has been drawn.
 
tra_0244
 
 

2.Edit the pasted object to the desired shape. Editing is done from the Properties view.
 
tra_0245
 
The idea is to imagine the sector as part of a completed ellipse, with one revolution being 360 degrees and the apex of the ellipse being 0 degrees. Then, enter the angle of the start position of the sector in the "StartAngle" property, and the angle of the end position in the "EndAngle" property. You can also enter negative values here. As an example, try entering -30, 30.
 
The result is a sector shape like this:
 
tra_0246
 

 
 

hint

For instructions on how to change the fill and border color, resize the control, etc., please refer to Rectangle control.