FGX.Canvas.TfgCanvas: различия между версиями
Admin (обсуждение | вклад) (summary) |
Admin (обсуждение | вклад) (summary) |
||
Строка 14: | Строка 14: | ||
|- | |- | ||
| <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> | ||
+ | Рисует точку в логических координатах '' APoint '' . | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawPoint(const X: [[Single]]; const Y: [[Single]])</code> | ||
+ | Рисует точку в логических координатах '' (AX, AY) '' . | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawPoints(const APoints: [[.TfgPoints|TfgPoints]])</code> | ||
+ | Рисует набор указанных точек | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawLine(const APoint1: [[TPointF]]; const APoint2: [[TPointF]])</code> | ||
+ | Рисует линию из точки '' APoint1 '' в '' APoint2 '' указанной кистью | ||
+ | |- | ||
+ | | <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> | ||
+ | Рисует цепочку линий. Соединяет переданные точки '' APoints '' по очереди. | ||
+ | |- | ||
+ | | <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> | ||
+ | Рисует окружность с центром в '' ACenter '' и радиусом '' ARadius '' . | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">DrawCircle(const CenterX: [[Single]]; const CenterY: [[Single]]; const ARadius: [[Single]])</code> | ||
+ | Рисует окружность с центром в '' (AX, AY) '' и радиусом '' ARadius '' . | ||
+ | |- | ||
+ | | <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> | ||
+ | Закрашивает холст указанным цветом | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillPolygon(const APoints: [[.TfgPoints|TfgPoints]])</code> | ||
+ | Рисует цепочку линий. Соединяет переданные точки '' APoints '' по очереди. | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">FillRect(const ARect: [[TRectF]])</code> | ||
+ | Закрашивает прямоугольник указанным кистью | ||
+ | |- | ||
+ | | <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> | ||
+ | Закрашивает прямоугольник со скругленными углами и указанным кистью | ||
+ | |- | ||
+ | | <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: [[.TfgHorizontalAlignment|TfgHorizontalAlignment]]; const AVerticalAlign: [[.TfgVerticalAlignment|TfgVerticalAlignment]])</code> | ||
<span style="color:gray">Описание отсутствует.</span> | <span style="color:gray">Описание отсутствует.</span> | ||
|} | |} |
Версия 23:23, 11 июня 2019
Delphi
TfgCanvas = class (TObject)
Описание
Описание отсутствует.
Конструкторы
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)
Описание отсутствует. |