Class VLBasicDrawLayers.TVLDrawShapeLayer
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: VideoLabAdditionalPkg
Unit: VLBasicDrawLayers
Inherits: TVLDrawPenBrushXYLayer
Contents |
Syntax
Delphi:
type TVLDrawShapeLayer = class( TVLDrawPenBrushXYLayer )
C++ Builder:
class TVLDrawShapeLayer : public TVLDrawPenBrushXYLayer
Visual C++ (MFC):
class CTVLDrawShapeLayer : public CTVLDrawPenBrushXYLayer
C# (.NET):
public ref class TVLDrawShapeLayer : Mitov.VideoLab.DrawPenBrushXYLayer
Summary
Layer drawing simple shapes.
Description
Add this layer to draw simple shapes over the frames.
Example:
Properties
Published
- ShapeType - Specifies the type of the shape to be drawn.
- Width - Specifies the Width of the shape to be drawn.
- Height - Specifies the Height of the shape to be drawn.
- CornerSize - Specifies the size of the corner for the round rectangle shapes.
From TVLDrawPenBrushXYLayer
Properties
Published
- Pen - Specifies the pen settings to be used for the drawing.
- Brush - Specifies the brush settings to be used for the drawing.
From TVLDrawXYLayer
Properties
Published
- X - Specifies the X coordinate offset.
- Y - Specifies the Y coordinate offset.
- CoordinateMode - Specifies the coordinate mode.
From TLPDrawLayer
Properties
Published
Methods
Public
- function GetHasEnable() : Boolean
- function GetCanDisable() : Boolean
- procedure DoLayerBegin(ACanvas : TLPCanvas; AWidth : Integer; AHeight : Integer; AXCoeff : Single; AYCoeff : Single)
- procedure DoLayerEnd()
- procedure DoLayerDraw(ACanvas : TLPCanvas; AWidth : Integer; AHeight : Integer; AXCoeff : Single; AYCoeff : Single; AContoursOnly : Boolean)
- procedure DoLayerMouseMove(AShift : TShiftState; AX : Integer; AY : Integer)
- procedure DoLayerMouseDown(Button : TMouseButton; Shift : TShiftState; X : Integer; Y : Integer)
- procedure DoLayerMouseUp(Button : TMouseButton; Shift : TShiftState; X : Integer; Y : Integer)
- procedure DoLayerMouseWheelDown(AShift : TShiftState; AX : Integer; AY : Integer)
- procedure DoLayerMouseWheelUp(AShift : TShiftState; AX : Integer; AY : Integer)
- procedure DoLayerMouseEnter()
- procedure DoLayerMouseLeave()
- function GetChachedData(ALink : TObject) : TObject
- procedure SetChachedData(ALink : TObject; AData : TObject)
- function GetOperations() : TLPDrawLayerOperations
- procedure AddLayerLink(ALink : TLPLayerCollectionItem)
- procedure RemoveLayerLink(ALink : TLPLayerCollectionItem)
- function GetName() : String
- function WriteLock() : IOWLockSection