DrawRoundedBox
Vektorgrafikk, Sideoppsett
Beskrivelse
Tegn et rektangel med avrundede hjørner på den valgte siden
Syntaks
Delphi
Function TPDFlib.DrawRoundedBox(Left, Top, Width, Height, Radius: Double; DrawOptions: Integer): Integer;
ActiveX
Function PDFlib::DrawRoundedBox(Left As Double, Top As Double, Width As Double, Height As Double, Radius As Double, DrawOptions As Long) As Long
DLL
int DLDrawRoundedBox(int InstanceID, double Left, double Top, double Width, double Height, double Radius, int DrawOptions);
Parametere
| Left | Horisontal koordinat for rektangelets venstre kant Vertikal koordinat for rektangelets toppkant |
|---|---|
| Top | Rectangle width |
| Width | |
| Height | Rectangle height |
| Radius | Radius til hjørnebuene |
| DrawOptions | 0 = Kontur 1 = Fyll 2 = Fyll og kontur |