DrawRotatedBox
Grafis vektor, Manipulasi halaman
Deskripsi
Menggambar rectangle yang dirotasi di halaman terpilih
Sintaks
Delphi
Function TPDFlib.DrawRotatedBox(Left, Bottom, Width, Height, Angle: Double; DrawOptions: Integer): Integer;
ActiveX
Function PDFlib::DrawRotatedBox(Left As Double, Bottom As Double, Width As Double, Height As Double, Angle As Double, DrawOptions As Long) As Long
DLL
int DLDrawRotatedBox(int InstanceID, double Left, double Bottom, double Width, double Height, double Angle, int DrawOptions);
Parameter
| Left | Koordinat horizontal titik anchor |
|---|---|
| Bottom | Koordinat vertikal titik anchor |
| Width | Lebar rectangle |
| Height | Tinggi rectangle |
| Angle | Sudut rotasi rectangle, diukur berlawanan arah jarum jam dalam derajat dari baseline, terhadap titik anchor (kiri bawah rectangle) |
| DrawOptions | 0 = Garis tepi 1 = Isi 2 = Isi dan garis tepi |