DrawRoundedBox
Vektorgrafik, Seitenlayout
Beschreibung
Zeichnet ein Rechteck mit abgerundeten Ecken auf der ausgewählten Seite.
Syntax
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);
Parameter
| Left | Horizontale Koordinate des linken Rechteckrands |
|---|---|
| Top | Vertikale Koordinate des oberen Rechteckrands |
| Width | Rechteckbreite |
| Height | Rechteckhöhe |
| Radius | Radius der Eckenbögen |
| DrawOptions | 0 = Umriss 1 = Füllung 2 = Füllung und Umriss |
Rückgabewerte
Gibt 1 zurück, nachdem das Rechteck mit abgerundeten Ecken in den Seiteninhalt aufgenommen wurde