Class VLBasicDrawLayers.TVLDrawTextLayer
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(7 intermediate revisions by one user not shown) | |||
Line 28: | Line 28: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' DrawTextLayer : [[Class VLBasicDrawLayers.TVLDrawXYLayer|Mitov.VideoLab.DrawXYLayer]] |
</code> | </code> | ||
== Summary == | == Summary == | ||
Line 46: | Line 46: | ||
=== Published === | === Published === | ||
*[[Property VLBasicDrawLayers.TVLDrawTextLayer.Font|Font]] - Specifies the font of the label. | *[[Property VLBasicDrawLayers.TVLDrawTextLayer.Font|Font]] - Specifies the font of the label. | ||
+ | *[[Property VLBasicDrawLayers.TVLDrawTextLayer.Background|Background]] - Specifies the background of the label. | ||
*[[Property VLBasicDrawLayers.TVLDrawTextLayer.Text|Text]] - Specifies the text of the label. | *[[Property VLBasicDrawLayers.TVLDrawTextLayer.Text|Text]] - Specifies the text of the label. | ||
Line 72: | Line 73: | ||
=== Public === | === Public === | ||
+ | *[[Method function LPDrawLayers.TLPDrawLayer.GetHasEnable() : Boolean|function GetHasEnable() : Boolean]] | ||
+ | *[[Method function LPDrawLayers.TLPDrawLayer.GetCanDisable() : Boolean|function GetCanDisable() : Boolean]] | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerBegin(TLPCanvas;Integer;Integer;Single;Single)|procedure DoLayerBegin(ACanvas : TLPCanvas; AWidth : Integer; AHeight : Integer; AXCoeff : Single; AYCoeff : Single)]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerBegin(TLPCanvas;Integer;Integer;Single;Single)|procedure DoLayerBegin(ACanvas : TLPCanvas; AWidth : Integer; AHeight : Integer; AXCoeff : Single; AYCoeff : Single)]] | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerEnd()|procedure DoLayerEnd()]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerEnd()|procedure DoLayerEnd()]] | ||
Line 82: | Line 85: | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerMouseEnter()|procedure DoLayerMouseEnter()]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerMouseEnter()|procedure DoLayerMouseEnter()]] | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerMouseLeave()|procedure DoLayerMouseLeave()]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.DoLayerMouseLeave()|procedure DoLayerMouseLeave()]] | ||
+ | *[[Method function LPDrawLayers.TLPDrawLayer.GetChachedData(TObject) : TObject|function GetChachedData(ALink : TObject) : TObject]] | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.SetChachedData(TObject;TObject)|procedure SetChachedData(ALink : TObject; AData : TObject)]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.SetChachedData(TObject;TObject)|procedure SetChachedData(ALink : TObject; AData : TObject)]] | ||
+ | *[[Method function LPDrawLayers.TLPDrawLayer.GetOperations() : TLPDrawLayerOperations|function GetOperations() : TLPDrawLayerOperations]] | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.AddLayerLink(TLPLayerCollectionItem)|procedure AddLayerLink(ALink : TLPLayerCollectionItem)]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.AddLayerLink(TLPLayerCollectionItem)|procedure AddLayerLink(ALink : TLPLayerCollectionItem)]] | ||
*[[Method procedure LPDrawLayers.TLPDrawLayer.RemoveLayerLink(TLPLayerCollectionItem)|procedure RemoveLayerLink(ALink : TLPLayerCollectionItem)]] | *[[Method procedure LPDrawLayers.TLPDrawLayer.RemoveLayerLink(TLPLayerCollectionItem)|procedure RemoveLayerLink(ALink : TLPLayerCollectionItem)]] | ||
+ | *[[Method function LPDrawLayers.TLPDrawLayer.GetName() : String|function GetName() : String]] | ||
+ | *[[Method function LPDrawLayers.TLPDrawLayer.WriteLock() : IOWLockSection|function WriteLock() : IOWLockSection]] | ||
== From [[Class SLComponentCollection.TSLComponentItem|TSLComponentItem]] == | == From [[Class SLComponentCollection.TSLComponentItem|TSLComponentItem]] == | ||
Line 97: | Line 104: | ||
=== Public === | === Public === | ||
+ | *[[Method function SLComponentCollection.TSLComponentItem.GetParentComponent() : TComponent|function GetParentComponent() : TComponent]] | ||
+ | *[[Method function SLComponentCollection.TSLComponentItem.HasParent() : Boolean|function HasParent() : Boolean]] | ||
+ | *[[Method function SLComponentCollection.TSLComponentItem.GetOwnerList() : TSLComponentItems|function GetOwnerList() : TSLComponentItems]] | ||
*[[Method function SLComponentCollection.TSLComponentItem.GetHasEnable() : Boolean|function GetHasEnable() : Boolean]] | *[[Method function SLComponentCollection.TSLComponentItem.GetHasEnable() : Boolean|function GetHasEnable() : Boolean]] | ||
*[[Method function SLComponentCollection.TSLComponentItem.GetCanDisable() : Boolean|function GetCanDisable() : Boolean]] | *[[Method function SLComponentCollection.TSLComponentItem.GetCanDisable() : Boolean|function GetCanDisable() : Boolean]] | ||
[[Category:Layers]][[Category:Classes]] | [[Category:Layers]][[Category:Classes]] |
Latest revision as of 00:30, 26 June 2013
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: TVLDrawXYLayer
Contents |
Syntax
Delphi:
type TVLDrawTextLayer = class( TVLDrawXYLayer )
C++ Builder:
class TVLDrawTextLayer : public TVLDrawXYLayer
Visual C++ (MFC):
class CTVLDrawTextLayer : public CTVLDrawXYLayer
C# (.NET):
public ref class DrawTextLayer : Mitov.VideoLab.DrawXYLayer
Summary
Layer drawing text labels.
Description
Add this layer to draw text over the frames.
Example:
Properties
Published
- Font - Specifies the font of the label.
- Background - Specifies the background of the label.
- Text - Specifies the text of the label.
Methods
Public
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