Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPCanvas > Methods
TRSGPCanvas.Clear(TRSGPColor) Method
Clears the canvas to a specified color
Namespace: RSGdiPlusGraphics
Delphi
public procedure Clear( aColor: TRSGPColor = TRSGPColorRec.Null ); virtual;
Parameters
aColor
Type: TRSGPColor
Color to paint the background.
•RSGdiPlusGraphics.TRSGPCanvas.FillRect(TRectF,Single,Single,TRSGPCorners,Single,TRSGPBrush,TRSGPCornerType)
•TRSGPCanvas
•RSGdiPlusGraphics