Class ILAngularGauge.TILControlAngularGaugeHand
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(6 intermediate revisions by one user not shown) | |||
Line 9: | Line 9: | ||
'''Unit:''' [[Unit ILAngularGauge|ILAngularGauge]] | '''Unit:''' [[Unit ILAngularGauge|ILAngularGauge]] | ||
− | '''Inherits:''' [[Class | + | '''Inherits:''' [[Class ILAngularGauge.TILAngularGaugeHand|TILAngularGaugeHand]] |
== Syntax == | == Syntax == | ||
=== Delphi: === | === Delphi: === | ||
<code> | <code> | ||
− | '''type''' TILControlAngularGaugeHand = '''class'''( [[Class | + | '''type''' TILControlAngularGaugeHand = '''class'''( [[Class ILAngularGauge.TILAngularGaugeHand|TILAngularGaugeHand]] ) |
</code> | </code> | ||
=== C++ Builder: === | === C++ Builder: === | ||
<code> | <code> | ||
− | '''class''' TILControlAngularGaugeHand : '''public''' [[Class | + | '''class''' TILControlAngularGaugeHand : '''public''' [[Class ILAngularGauge.TILAngularGaugeHand|TILAngularGaugeHand]] |
</code> | </code> | ||
=== Visual C++ (MFC): === | === Visual C++ (MFC): === | ||
<code> | <code> | ||
− | '''class''' CTILControlAngularGaugeHand : '''public''' [[Class | + | '''class''' CTILControlAngularGaugeHand : '''public''' [[Class ILAngularGauge.TILAngularGaugeHand|CTILAngularGaugeHand]] |
</code> | </code> | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' ControlAngularGaugeHand : [[Class ILAngularGauge.TILAngularGaugeHand|Mitov.InstrumentLab.AngularGaugeHand]] |
</code> | </code> | ||
== Summary == | == Summary == | ||
Line 47: | Line 47: | ||
=== Public === | === Public === | ||
− | *[[Method procedure ILAngularGauge.TILControlAngularGaugeHand.Draw(IGPGraphics;Single;Single;Single;Single;Single;Single;Single;Single;Single)|procedure Draw(AGraphics : IGPGraphics; ARadiusX : Single; ARadiusY : Single; Width : Single; Height : Single; AOutWidth : Single; AOutHeight : Single; AXCoeff : Single; AYCoeff | + | *[[Method procedure ILAngularGauge.TILControlAngularGaugeHand.Draw(IGPGraphics;Single;Single;Single;Single;Single;Single;Single;Single;Single;Single)|procedure Draw(AGraphics : IGPGraphics; ACenterOffsetX : Single; ACenterOffsetY : Single; ARadiusX : Single; ARadiusY : Single; Width : Single; Height : Single; AOutWidth : Single; AOutHeight : Single; AXCoeff : Single; AYCoeff : Single)]] |
− | *[[Method procedure ILAngularGauge.TILControlAngularGaugeHand.SetMouseOver(Boolean;TPoint)|procedure SetMouseOver(AValue : Boolean; AMousePos : TPoint)]] | + | *[[Method procedure ILAngularGauge.TILControlAngularGaugeHand.SetMouseOver(Boolean;TPoint;Boolean)|procedure SetMouseOver(AValue : Boolean; AMousePos : TPoint; AInvalidate : Boolean)]] |
*[[Method procedure ILAngularGauge.TILControlAngularGaugeHand.SetMouseDown(Boolean)|procedure SetMouseDown(AValue : Boolean)]] | *[[Method procedure ILAngularGauge.TILControlAngularGaugeHand.SetMouseDown(Boolean)|procedure SetMouseDown(AValue : Boolean)]] | ||
− | == From [[Class ILAnalogInstrument. | + | == From [[Class ILAnalogInstrument.TILAngularHand|TILAngularHand]] == |
== Properties == | == Properties == | ||
=== Published === | === Published === | ||
− | *[[Property ILAnalogInstrument. | + | *[[Property ILAnalogInstrument.TILAngularHand.Visible|Visible]] - Specifies if the hand is visible. |
− | *[[Property ILAnalogInstrument. | + | *[[Property ILAnalogInstrument.TILAngularHand.Length|Length]] - Specifies the head length of the hand. |
− | *[[Property ILAnalogInstrument. | + | *[[Property ILAnalogInstrument.TILAngularHand.TailLength|TailLength]] - Specifies the tail length of the hand. |
− | *[[Property ILAnalogInstrument. | + | *[[Property ILAnalogInstrument.TILAngularHand.TipWidth|TipWidth]] - Specifies the tip width of the hand. |
− | *[[Property ILAnalogInstrument. | + | *[[Property ILAnalogInstrument.TILAngularHand.TailIndentSize|TailIndentSize]] - Specifies the size of the tail indent of the hand. |
− | *[[Property ILAnalogInstrument. | + | *[[Property ILAnalogInstrument.TILAngularHand.TailWidth|TailWidth]] - Specifies the tail width of the hand. |
− | *[[Property ILAnalogInstrument. | + | *[[Property ILAnalogInstrument.TILAngularHand.Color|Color]] - Specifies the color of the hand. |
− | *[[Property ILAnalogInstrument. | + | *[[Property ILAnalogInstrument.TILAngularHand.Shadow|Shadow]] - Specifies how the shadow will be displayed. |
+ | *[[Property ILAnalogInstrument.TILAngularHand.Animation|Animation]] - Specifies the animation effects for the hand. | ||
== Methods == | == Methods == | ||
=== Public === | === Public === | ||
− | *[[Method procedure ILAnalogInstrument. | + | *[[Method procedure ILAnalogInstrument.TILAngularHand.DoInvalidateResources()|procedure DoInvalidateResources()]] |
+ | *[[Method procedure ILAnalogInstrument.TILAngularHand.InvalidateOwner()|procedure InvalidateOwner()]] | ||
+ | *[[Method procedure ILAnalogInstrument.TILAngularHand.Draw(IGPGraphics;Single;Single;Single;Single;Single;Single;Single;Single;Single;Single)|procedure Draw(AGraphics : IGPGraphics; ACenterOffsetX : Single; ACenterOffsetY : Single; ARadiusX : Single; ARadiusY : Single; Width : Single; Height : Single; AOutWidth : Single; AOutHeight : Single; AXCoeff : Single; AYCoeff : Single)]] | ||
+ | *[[Method function ILAnalogInstrument.TILAngularHand.HitTest(Integer;Integer;Single;Single;Single;Single;Single;Single;Single;Single) : Boolean|function HitTest(X : Integer; Y : Integer; ACenterOffsetX : Single; ACenterOffsetY : Single; ARadiusX : Single; ARadiusY : Single; Width : Single; Height : Single; AXCoeff : Single; AYCoeff : Single) : Boolean]] | ||
+ | *[[Method function ILAnalogInstrument.TILAngularHand.PerformAnimation() : Boolean|function PerformAnimation() : Boolean]] | ||
+ | |||
+ | == From [[Class LPTransparentControl.TLPControlProperty|TLPControlProperty]] == | ||
+ | |||
+ | == Methods == | ||
+ | |||
+ | === Public === | ||
+ | *[[Method function LPTransparentControl.TLPControlProperty.GetOwner() : TPersistent|function GetOwner() : TPersistent]] | ||
== From [[Class LPComponent.TLPPersistent|TLPPersistent]] == | == From [[Class LPComponent.TLPPersistent|TLPPersistent]] == | ||
Line 75: | Line 87: | ||
=== Public === | === Public === | ||
+ | *[[Method function LPComponent.TLPPersistent.QueryInterface(TGUID;TObject) : HResult|function QueryInterface(IID : TGUID; Obj : TObject) : HResult]] | ||
+ | *[[Method function LPComponent.TLPPersistent.GetOwner() : TPersistent|function GetOwner() : TPersistent]] | ||
*[[Method procedure LPComponent.TLPPersistent.OwnerNameChanged(String;String)|procedure OwnerNameChanged(AOldName : String; ANewName : String)]] | *[[Method procedure LPComponent.TLPPersistent.OwnerNameChanged(String;String)|procedure OwnerNameChanged(AOldName : String; ANewName : String)]] | ||
[[Category:Classes]] | [[Category:Classes]] |
Latest revision as of 00:31, 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: InstrumentLabPkg
Unit: ILAngularGauge
Inherits: TILAngularGaugeHand
Contents |
Syntax
Delphi:
type TILControlAngularGaugeHand = class( TILAngularGaugeHand )
C++ Builder:
class TILControlAngularGaugeHand : public TILAngularGaugeHand
Visual C++ (MFC):
class CTILControlAngularGaugeHand : public CTILAngularGaugeHand
C# (.NET):
public ref class ControlAngularGaugeHand : Mitov.InstrumentLab.AngularGaugeHand
Summary
Angular gauge hand properties class.
Description
Defines class specifying the angular gauge hand properties.
Properties
Published
- SelectedColor - Specifies the color of the hand when it is selected and the mouse is not over it.
- MouseOverColor - Specifies the color of the hand when it is not selected and the mouse is over it.
- SelectedMouseOverColor - Specifies the color of the hand when it is selected and the mouse is over it.
Public
- Selected - Indicates that the hand is currently selected and can be controlled by keys or the mouse wheel.
Methods
Public
- procedure Draw(AGraphics : IGPGraphics; ACenterOffsetX : Single; ACenterOffsetY : Single; ARadiusX : Single; ARadiusY : Single; Width : Single; Height : Single; AOutWidth : Single; AOutHeight : Single; AXCoeff : Single; AYCoeff : Single)
- procedure SetMouseOver(AValue : Boolean; AMousePos : TPoint; AInvalidate : Boolean)
- procedure SetMouseDown(AValue : Boolean)
From TILAngularHand
Properties
Published
- Visible - Specifies if the hand is visible.
- Length - Specifies the head length of the hand.
- TailLength - Specifies the tail length of the hand.
- TipWidth - Specifies the tip width of the hand.
- TailIndentSize - Specifies the size of the tail indent of the hand.
- TailWidth - Specifies the tail width of the hand.
- Color - Specifies the color of the hand.
- Shadow - Specifies how the shadow will be displayed.
- Animation - Specifies the animation effects for the hand.
Methods
Public
- procedure DoInvalidateResources()
- procedure InvalidateOwner()
- procedure Draw(AGraphics : IGPGraphics; ACenterOffsetX : Single; ACenterOffsetY : Single; ARadiusX : Single; ARadiusY : Single; Width : Single; Height : Single; AOutWidth : Single; AOutHeight : Single; AXCoeff : Single; AYCoeff : Single)
- function HitTest(X : Integer; Y : Integer; ACenterOffsetX : Single; ACenterOffsetY : Single; ARadiusX : Single; ARadiusY : Single; Width : Single; Height : Single; AXCoeff : Single; AYCoeff : Single) : Boolean
- function PerformAnimation() : Boolean