HRESULT AlternateFill () |
This method is used to fill the inside of a path with the current fill color. This method uses the even-odd rule for defining the inside path.
The fill color may be set using methods SetColorFill orĀ SetColor.
{ PDF object is supposed to be created } PDF.DrawCircle(100, 100, 80); PDF.DrawCircle(140, 160, 80); PDF.Fill; PDF.DrawCircle(300, 100, 80); PDF.DrawCircle(340, 160, 80); PDF.AlternateFill; PDF.SaveToFile('test.pdf', true);
// PDF object is supposed to be created PDF->DrawCircle(100, 100, 80); PDF->DrawCircle(140, 160, 80); PDF->Fill(); PDF->DrawCircle(300, 100, 80); PDF->DrawCircle(340, 160, 80); PDF->AlternateFill(); PDF->SaveToFile("test.pdf", true);
// PDF object is supposed to be created PDF.DrawCircle(100, 100, 80); PDF.DrawCircle(140, 160, 80); PDF.Fill(); PDF.DrawCircle(300, 100, 80); PDF.DrawCircle(340, 160, 80); PDF.AlternateFill(); PDF.SaveToFile("test.pdf", true);
' PDF object is supposed to be created PDF.DrawCircle 100, 100, 80 PDF.DrawCircle 140, 160, 80 PDF.Fill PDF.DrawCircle 300, 100, 80 PDF.DrawCircle 340, 160, 80 PDF.AlternateFill PDF.SaveToFile "test.pdf", true