Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.07 KB

README.md

File metadata and controls

23 lines (20 loc) · 1.07 KB


TDirect2DShape is a simply TShape implementation using TDirect2DCanvas to paint instead GDI TCanvas.

Instalation

[Optional] Boss instalation:

boss install github.com/willisnou/Direct2DShape

[Manual] For manual installation add the ../Direct2DShape/src directory on library path in Tools > Options > Language > Delphi > Library > Library Path AND install the component package to use in design time.

Getting started

Just drop (at design time) the TDirect2DShape on the form and configure it. To create at runtime declare the Direct2DShape unit in uses clause and use the TDirect2DShape object.

uses Direct2DShape;

Sample code

Check out the sample code available and compare by your own.