FMX.ExtCtrls.TPlotGrid.Paint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Paint; override;

C++

virtual void __fastcall Paint();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.ExtCtrls.pas
FMX.ExtCtrls.hpp
FMX.ExtCtrls TPlotGrid

Description

Renders the control's surface.

This method renders the surface of the TPlotGrid control on the canvas. Paint begins by setting the stroke thickness and color, then draws the main horizontal and vertical axes and the grid itself, using colors and a brush style defined by the LineFill property. The distance between any two parallel lines from the small grid is given by the Frequency property, and the distance between any two parallel lines from the marked grid points is given through Marks.

When drawing the grid, Paint takes in consideration the value of the opacity.

Note: Even though Paint overrides the FMX.Controls.TControl.Paint method, it does not inherit anything except the name.

See Also