Unit 'drawingview' Package
[Overview][Types][Classes][Procedures and functions][Index] [#pw_androidwizard]

jDrawingView

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

Declaration

Source position: drawingview.pas line 25

type jDrawingView = class(jVisualControl)

protected

  procedure Notification(); override;

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Init; override;

  

  procedure Refresh;

  

  procedure UpdateLayout; override;

  

  function jCreate();

  

  procedure jFree;

  

  procedure SetViewParent(); override;

  

  procedure RemoveFromViewParent; override;

  

  function GetView; override;

  

  procedure SetLParamWidth();

  

  procedure SetLParamHeight();

  

  procedure SetLeftTopRightBottomWidthHeight();

  

  procedure AddLParamsAnchorRule();

  

  procedure AddLParamsParentRule();

  

  procedure SetLayoutAll();

  

  procedure ClearLayout;

  

  function GetDrawingCache;

  

  function GetImage;

  

  function GetPaint;

  

  function GetHeight; override;

  

  function GetWidth; override;

  

  procedure DrawBitmap();

  

  procedure SetPaintStrokeWidth();

  

  procedure SetPaintStyle();

  

  procedure SetPaintColor();

  

  procedure SetTextSize();

  

  procedure DrawLine();

  

  function GetPath();

  

  procedure DrawPath();

  

  procedure SetPaintStrokeJoin();

  

  procedure SetPaintStrokeCap();

  

  procedure SetPaintCornerPathEffect();

  

  procedure SetPaintDashPathEffect();

  

  function ResetPath();

  

  procedure AddCircleToPath();

  

  function GetNewPath();

  

  function AddPointsToPath();

  

  function AddPathToPath();

  

  procedure DrawTextOnPath();

  

  procedure DrawText();

  

  procedure DrawPoint();

  

  procedure DrawCircle();

  

  procedure DrawBackground();

  

  procedure DrawRect();

  

  procedure SetImageByResourceIdentifier();

  

  procedure DrawFrame();

  

  procedure SaveToFile();

  

  procedure SetMinZoomFactor();

  

  procedure SetMaxZoomFactor();

  

  procedure DrawTextAligned();

  

  procedure DrawArc();

  

  procedure DrawOval();

  

  function GetViewportX();

  

  function GetViewportY();

  

  procedure SetViewportScaleXY();

  

  function GetWorldY();

  

  function GetWorldX();

  

  procedure DrawTextMultiLine();

  

  procedure Invalidate;

  

  procedure Clear();

  

  procedure SetBufferedDraw();

  

  function GetTextHeight();

  

  function GetTextWidth();

  

  function GetTextLeft();

  

  function GetTextBottom();

  

  procedure SetFontFace();

  

  procedure SetTextTypeFace();

  

  procedure SetFontFromAssets();

  

  procedure DrawTextFromAssetsFont();

  

  function GetTextBox();

  

  function DrawTextEx();

  

  function DrawTextAlignedEx();

  

  procedure DrawCroppedBitmap();

  

  procedure DrawRoundRect();

  

  procedure DrawGrid();

  

  procedure ClipRect();

  

  function GetDensity;

  

  procedure SetLayerType();

  

  procedure GenEvent_OnDrawingViewTouch();

  

  procedure GenEvent_OnDrawingViewDraw();

  

  procedure GenEvent_OnDrawingViewSizeChanged();

  

  property Density: Single; [r]

  

published

  property BackgroundColor: TARGBColorBridge; [rw]

  

  property FontSize: DWord; [rw]

  

  property FontFace: TFontFace; [rw]

  

  property TextTypeFace: TTextTypeFace; [rw]

  

  property PaintShader: JPaintShader; [rw]

  

  property PaintStrokeWidth: single; [rw]

  

  property PaintStyle: TPaintStyle; [rw]

  

  property PaintColor: TARGBColorBridge; [rw]

  

  property PaintStrokeJoin: TStrokeJoin; [rw]

  

  property PaintStrokeCap: TStrokeCap; [rw]

  

  property ImageIdentifier: string; [rw]

  

  property MinPinchZoomFactor: single; [rw]

  

  property MaxPinchZoomFactor: single; [rw]

  

  property BufferedDraw: Boolean; [rw]

  

  property TimeClick: Integer; [rw]

  

  property TimeDoubleClick: Integer; [rw]

  

  property OnDraw: TOnTouchExtended; [rw]

  

  property OnSizeChanged: TOnDrawingViewSizeChanged; [rw]

  

  property OnTouchDown: TOnTouchExtended; [rw]

  

  property OnTouchMove: TOnTouchExtended; [rw]

  

  property OnTouchUp: TOnTouchExtended; [rw]

  

  property OnClick: TOnTouch; [rw]

  

  property OnDoubleClick: TOnTouch; [rw]

  

end;

Inheritance

jDrawingView

  

|

jVisualControl

  

|

TAndroidWidget

  

|

jControl

  

|

TObject



CT Web help

CodeTyphon Studio