Unit 'BGRACanvas2D' Package
[Overview][Types][Classes][Index] [#pl_bgrabitmap]

TBGRACanvas2D

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: bgracanvas2d.pas line 96

type TBGRACanvas2D = class(IBGRAPath)

public

  antialiasing: Boolean;

  

  linearBlend: Boolean;

  

  gradientGammaCorrection: Boolean;

  

  constructor Create();

  

  destructor Destroy; override;

  

  function toDataURL();

  

  procedure save;

  

  procedure restore;

  

  procedure scale();

  

  procedure rotate();

  

  procedure translate();

  

  procedure skewx();

  

  procedure skewy();

  

  procedure transform();

  

  procedure setTransform();

  

  procedure resetTransform;

  

  procedure strokeScale();

  

  procedure strokeSkewx();

  

  procedure strokeSkewy();

  

  procedure strokeResetTransform;

  

  procedure strokeStyle();

  

  procedure fillStyle();

  

  procedure shadowColor();

  

  procedure shadowNone;

  

  function getShadowColor;

  

  function createLinearGradient();

  

  function createRadialGradient();

  

  function createPattern();

  

  procedure fillRect();

  

  procedure strokeRect();

  

  procedure clearRect();

  

  procedure addPath();

  

  procedure path();

  

  procedure beginPath;

  

  procedure closePath;

  

  procedure toSpline();

  

  procedure moveTo();

  

  procedure lineTo();

  

  procedure polylineTo();

  

  procedure quadraticCurveTo();

  

  procedure bezierCurveTo();

  

  procedure rect();

  

  procedure roundRect();

  

  procedure openedSpline();

  

  procedure closedSpline();

  

  procedure spline();

  

  procedure splineTo();

  

  procedure arc();

  

  procedure arcTo();

  

  procedure circle();

  

  procedure ellipse();

  

  procedure text();

  

  procedure fillText();

  

  procedure strokeText();

  

  function measureText();

  

  procedure fill();

  

  procedure stroke();

  

  procedure fillOverStroke;

  

  procedure strokeOverFill;

  

  procedure clearPath;

  

  procedure clip;

  

  procedure unclip;

  

  function isPointInPath();

  

  procedure drawImage();

  

  function getLineStyle;

  

  procedure lineStyle();

  

  class function StrToFontNameList();

  

  class function FontNameListToStr();

  

  class function CSSFontNameToLCL();

  

  property surface: TBGRACustomBitmap; [r]

  

  property width: Integer; [r]

  

  property height: Integer; [r]

  

  property pixelCenteredCoordinates: Boolean; [rw]

  

  property globalAlpha: single; [rw]

  

  property matrix: TAffineMatrix; [rw]

  

  property strokeMatrix: TAffineMatrix; [rw]

  

  property lineWidth: single; [rw]

  

  property lineCap: string; [rw]

  

  property lineCapLCL: TPenEndCap; [rw]

  

  property lineJoin: string; [rw]

  

  property lineJoinLCL: TPenJoinStyle; [rw]

  

  property miterLimit: single; [rw]

  

  property shadowOffsetX: single; [rw]

  

  property shadowOffsetY: single; [rw]

  

  property shadowOffset: TPointF; [rw]

  

  property shadowBlur: single; [rw]

  

  property shadowFastest: Boolean; [rw]

  

  property hasShadow: Boolean; [r]

  

  property fontName: string; [rw]

  

  property fontEmHeight: single; [rw]

  

  property fontStyle: TFontStyles; [rw]

  

  property font: string; [rw]

  

  property textAlignLCL: TAlignment; [rw]

  

  property textAlign: string; [rw]

  

  property textBaseline: string; [rw]

  

  property direction: TFontBidiMode; [rw]

  

  property fillMode: TFillMode; [rw]

  

  property currentPath: ArrayOfTPointF; [r]

  

  property fontRenderer: TBGRACustomFontRenderer; [rw]

  

protected

  function QueryInterface();

  

  function _AddRef;

  

  function _Release;

  

end;

Inheritance

TBGRACanvas2D

  

|

TObject



CT Web help

CodeTyphon Studio