FGX.Canvas.TfgCanvas: различия между версиями

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
Строка 17: Строка 17:
 
|-
 
|-
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create()</code>
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create()</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|}
 +
 +
== Методы ==
 +
 +
{| class="wikitable sortable"
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">AfterConstruction()</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawPoint(const APoint: [[TPointF]])</code>
 +
<p>Рисует точку в логических координатах <i>APoint</i> .</p>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawPoint(const X: [[Single]]; const Y: [[Single]])</code>
 +
<p>Рисует точку в логических координатах <i>(AX, AY)</i> .</p>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawPoints(const APoints: [[TfgPoints|TfgPoints]])</code>
 +
<p>Рисует набор указанных точек</p>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawLine(const APoint1: [[TPointF]]; const APoint2: [[TPointF]])</code>
 +
<p>Рисует линию из точки <i>APoint1</i> в <i>APoint2</i> указанной кистью</p>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawLine(const X1: [[Single]]; const Y1: [[Single]]; const X2: [[Single]]; const Y2: [[Single]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawLines(const APoints: [[TfgPoints|TfgPoints]])</code>
 +
<p>Рисует цепочку линий. Соединяет переданные точки <i>APoints</i> по очереди.</p>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawRect(const ARect: [[TRectF]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawRect(const ALeft: [[Single]]; const ATop: [[Single]]; const ARight: [[Single]]; const ABottom: [[Single]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawCircle(const ACenter: [[TPointF]]; const ARadius: [[Single]])</code>
 +
<p>Рисует окружность с центром в <i>ACenter</i> и радиусом <i>ARadius</i> .</p>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawCircle(const CenterX: [[Single]]; const CenterY: [[Single]]; const ARadius: [[Single]])</code>
 +
<p>Рисует окружность с центром в <i>(AX, AY)</i> и радиусом <i>ARadius</i> .</p>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawArc(const ACenter: [[TPointF]]; const ARadiusX: [[Single]]; const ARadiusY: [[Single]]; const StartAngle: [[Single]]; const SweepAngle: [[Single]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawArc(const ARect: [[TRectF]]; const StartAngle: [[Single]]; const SweepAngle: [[Single]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawEllipse(const ARect: [[TRectF]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawEllipse(const ALeft: [[Single]]; const ATop: [[Single]]; const ARight: [[Single]]; const ABottom: [[Single]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawEllipse(const ACenter: [[TPointF]]; const ARadiusX: [[Single]]; const ARadiusY: [[Single]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawBitmap(const ABitmap: [[FGX.Canvas.TfgBitmap|TfgBitmap]]; const ADestRect: [[TRectF]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawBitmap(const ABitmap: [[FGX.Canvas.TfgBitmap|TfgBitmap]]; const ASourceRect: [[TRect]]; const ADestRect: [[TRectF]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawBitmap(const ABitmap: [[FGX.Canvas.TfgBitmap|TfgBitmap]]; const ALeft: [[Single]]; const ATop: [[Single]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawPath(const APath: [[FGX.Canvas.Types.TfgPath|TfgPath]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillColor(const AColor: [[TAlphaColor]])</code>
 +
<p>Закрашивает холст указанным цветом</p>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillPolygon(const APoints: [[TfgPoints|TfgPoints]])</code>
 +
<p>Рисует цепочку линий. Соединяет переданные точки <i>APoints</i> по очереди.</p>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillRect(const ARect: [[TRectF]])</code>
 +
<p>Закрашивает прямоугольник указанным кистью</p>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillRect(const ALeft: [[Single]]; const ATop: [[Single]]; const ARight: [[Single]]; const ABottom: [[Single]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillRoundRect(const ARect: [[TRectF]]; const RX: [[Single]]; const RY: [[Single]])</code>
 +
<p>Закрашивает прямоугольник со скругленными углами и указанным кистью</p>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillRoundRect(const ALeft: [[Single]]; const ATop: [[Single]]; const ARight: [[Single]]; const ABottom: [[Single]]; const RX: [[Single]]; const RY: [[Single]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillCircle(const ACenter: [[TPointF]]; const ARadius: [[Single]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillCircle(const ACenterX: [[Single]]; const ACenterY: [[Single]]; const ARadius: [[Single]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillEllipse(const ARect: [[TRectF]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillEllipse(const ALeft: [[Single]]; const ATop: [[Single]]; const ARight: [[Single]]; const ABottom: [[Single]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillPath(const APath: [[FGX.Canvas.Types.TfgPath|TfgPath]])</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillText(const ARect: [[TRectF]]; const AText: [[string]]; const AWordWrap: [[Boolean]]; const AHorizontalAlign: [[FGX.Text.TfgHorizontalAlignment|TfgHorizontalAlignment]]; const AVerticalAlign: [[FGX.Text.TfgVerticalAlignment|TfgVerticalAlignment]])</code>
 
<span style="color:gray">Описание отсутствует.</span>
 
<span style="color:gray">Описание отсутствует.</span>
 
|}
 
|}

Версия 18:00, 29 июня 2019

Delphi

TfgCanvas = class (TObject)

TObject -> TfgCanvas

Описание

Описание отсутствует.

Конструкторы

constructor
Create()

Описание отсутствует.

Методы

procedure
AfterConstruction()

Описание отсутствует.

procedure
DrawPoint(const APoint: TPointF)

Рисует точку в логических координатах APoint .

procedure
DrawPoint(const X: Single; const Y: Single)

Рисует точку в логических координатах (AX, AY) .

procedure
DrawPoints(const APoints: TfgPoints)

Рисует набор указанных точек

procedure
DrawLine(const APoint1: TPointF; const APoint2: TPointF)

Рисует линию из точки APoint1 в APoint2 указанной кистью

procedure
DrawLine(const X1: Single; const Y1: Single; const X2: Single; const Y2: Single)

Описание отсутствует.

procedure
DrawLines(const APoints: TfgPoints)

Рисует цепочку линий. Соединяет переданные точки APoints по очереди.

procedure
DrawRect(const ARect: TRectF)

Описание отсутствует.

procedure
DrawRect(const ALeft: Single; const ATop: Single; const ARight: Single; const ABottom: Single)

Описание отсутствует.

procedure
DrawCircle(const ACenter: TPointF; const ARadius: Single)

Рисует окружность с центром в ACenter и радиусом ARadius .

procedure
DrawCircle(const CenterX: Single; const CenterY: Single; const ARadius: Single)

Рисует окружность с центром в (AX, AY) и радиусом ARadius .

procedure
DrawArc(const ACenter: TPointF; const ARadiusX: Single; const ARadiusY: Single; const StartAngle: Single; const SweepAngle: Single)

Описание отсутствует.

procedure
DrawArc(const ARect: TRectF; const StartAngle: Single; const SweepAngle: Single)

Описание отсутствует.

procedure
DrawEllipse(const ARect: TRectF)

Описание отсутствует.

procedure
DrawEllipse(const ALeft: Single; const ATop: Single; const ARight: Single; const ABottom: Single)

Описание отсутствует.

procedure
DrawEllipse(const ACenter: TPointF; const ARadiusX: Single; const ARadiusY: Single)

Описание отсутствует.

procedure
DrawBitmap(const ABitmap: TfgBitmap; const ADestRect: TRectF)

Описание отсутствует.

procedure
DrawBitmap(const ABitmap: TfgBitmap; const ASourceRect: TRect; const ADestRect: TRectF)

Описание отсутствует.

procedure
DrawBitmap(const ABitmap: TfgBitmap; const ALeft: Single; const ATop: Single)

Описание отсутствует.

procedure
DrawPath(const APath: TfgPath)

Описание отсутствует.

procedure
FillColor(const AColor: TAlphaColor)

Закрашивает холст указанным цветом

procedure
FillPolygon(const APoints: TfgPoints)

Рисует цепочку линий. Соединяет переданные точки APoints по очереди.

procedure
FillRect(const ARect: TRectF)

Закрашивает прямоугольник указанным кистью

procedure
FillRect(const ALeft: Single; const ATop: Single; const ARight: Single; const ABottom: Single)

Описание отсутствует.

procedure
FillRoundRect(const ARect: TRectF; const RX: Single; const RY: Single)

Закрашивает прямоугольник со скругленными углами и указанным кистью

procedure
FillRoundRect(const ALeft: Single; const ATop: Single; const ARight: Single; const ABottom: Single; const RX: Single; const RY: Single)

Описание отсутствует.

procedure
FillCircle(const ACenter: TPointF; const ARadius: Single)

Описание отсутствует.

procedure
FillCircle(const ACenterX: Single; const ACenterY: Single; const ARadius: Single)

Описание отсутствует.

procedure
FillEllipse(const ARect: TRectF)

Описание отсутствует.

procedure
FillEllipse(const ALeft: Single; const ATop: Single; const ARight: Single; const ABottom: Single)

Описание отсутствует.

procedure
FillPath(const APath: TfgPath)

Описание отсутствует.

procedure
FillText(const ARect: TRectF; const AText: string; const AWordWrap: Boolean; const AHorizontalAlign: TfgHorizontalAlignment; const AVerticalAlign: TfgVerticalAlignment)

Описание отсутствует.