PRIM_PDF - circle Method
Adds a circle to the PDF document
Member of PRIM_PDF (PRIM_PDF)
| Name | Type | Data Type | Description |
|---|---|---|---|
| CenterX | *Input | Float | X Coordinate for the center of the circle |
| CenterY | *Input | Float | Y Coordinate for the center of the circle |
| Radius | *Input | Float | Radius of circle |
| FillStyle | *Input (Optional) | Enumeration | Painting style |
Adds a circle to the PDF document.
Adding a circle
Define_Com Class(#PRIM_PDF) Name(#pdf) Unitm(mm) Pageformat(A4) Pageorientation(Portrait)
#pdf.start
#pdf.setDrawColor Color(Theme500)
#pdf.setFillColor Color(Theme500)
#pdf.circle Centerx(30) Centery(30) Radius(20) Fillstyle(Fill)
#pdf.save Filename('myReport.pdf')
| Enum Value | Description |
|---|---|
| Stroke | No fill color |
| Fill | Fill with current set FillColor |
| FillAndStroke | Fill with current set FillColor and then stroke |
| Delay | Postpones setting the style so that a shape may be composed using multiple method calls |
LANSA Version 15, April 2020