DrawingBase Class |
Namespace: SharpCharts.Base.ChartObject
public abstract class DrawingBase : DrawingVisual
The DrawingBase type exposes the following members.
Name | Description | |
---|---|---|
DrawingBase |
Name | Description | |
---|---|---|
ActualHeight |
Gets or sets the actual height
| |
ActualLineWidth |
Gets the actual width
| |
ActualScale |
Gets the actual scale
| |
ActualWidth |
Gets or sets the actual width
| |
Bars |
Gets the Bars associated with the object
| |
BarSpace |
Gets or sets the bar space
| |
BarWidth |
Gets or sets the bar width
| |
BitmapEffect | Obsolete. Gets or sets a BitmapEffect value for the ContainerVisual. (Inherited from ContainerVisual.) | |
BitmapEffectInput | Obsolete. Gets or sets a BitmapEffectInput value for the ContainerVisual. (Inherited from ContainerVisual.) | |
Brush |
Gets the object brush
| |
CacheMode | Gets or sets a cached representation of the ContainerVisual. (Inherited from ContainerVisual.) | |
Children | Gets the child collection of the ContainerVisual. (Inherited from ContainerVisual.) | |
Clip | Gets or sets the clipping region of the ContainerVisual. (Inherited from ContainerVisual.) | |
ContentBounds | Gets the bounding box for the contents of the ContainerVisual. (Inherited from ContainerVisual.) | |
DefaultTemplate |
Gets the default template
| |
DependencyObjectType | Gets the DependencyObjectType that wraps the CLR type of this instance. (Inherited from DependencyObject.) | |
DescendantBounds | Gets the union of all the content bounding boxes for all of the descendants of the ContainerVisual, but not including the contents of the ContainerVisual. (Inherited from ContainerVisual.) | |
Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) | |
Drawing | Gets the drawing content of the DrawingVisual object. (Inherited from DrawingVisual.) | |
Effect | Gets or sets the bitmap effect to apply to the ContainerVisual. (Inherited from ContainerVisual.) | |
HandleCount |
Gets the number of handles
| |
InnerHandleBrush |
Gets the Inner handle brush
| |
IsSealed | Gets a value that indicates whether this instance is currently sealed (read-only). (Inherited from DependencyObject.) | |
IsSelected |
Gets or sets whether the object is selected or not
| |
LastBarPainted | ||
LineHitTestWidth | ||
LineWidth |
Gets or sets the width of the line
| |
Max |
Gets or sets the max
| |
Min |
Gets or sets the min
| |
Name | ||
Offset | Gets or sets the offset value of the ContainerVisual from its reference point. (Inherited from ContainerVisual.) | |
Opacity | Gets or sets the opacity of the ContainerVisual, based on 0=transparent, 1=opaque. (Inherited from ContainerVisual.) | |
OpacityMask | Gets or sets a brush that specifies a possible opacity mask for the ContainerVisual. (Inherited from ContainerVisual.) | |
OuterHandleBrush |
Gets the outerHandleBrush
| |
Parent | Gets the parent Visual for the ContainerVisual. (Inherited from ContainerVisual.) | |
Template |
Gets the template object
| |
TemplateType |
Gets the template type
| |
Transform | Gets or sets the transform that is applied to the ContainerVisual. (Inherited from ContainerVisual.) | |
VisualBitmapEffect | Obsolete. Gets or sets the BitmapEffect value for the Visual. (Inherited from Visual.) | |
VisualBitmapEffectInput | Obsolete. Gets or sets the BitmapEffectInput value for the Visual. (Inherited from Visual.) | |
VisualBitmapScalingMode | Gets or sets the BitmapScalingMode for the Visual. (Inherited from Visual.) | |
VisualCacheMode | Gets or sets a cached representation of the Visual. (Inherited from Visual.) | |
VisualChildrenCount | Gets the number of children for the ContainerVisual. (Inherited from ContainerVisual.) | |
VisualClearTypeHint | Gets or sets the ClearTypeHint that determines how ClearType is rendered in the Visual. (Inherited from Visual.) | |
VisualClip | (Inherited from Visual.) | |
VisualEdgeMode | (Inherited from Visual.) | |
VisualEffect | Gets or sets the bitmap effect to apply to the Visual. (Inherited from Visual.) | |
VisualOffset | Gets or sets the offset value of the visual object. (Inherited from Visual.) | |
VisualOpacity | Gets or sets the opacity of the Visual. (Inherited from Visual.) | |
VisualOpacityMask | (Inherited from Visual.) | |
VisualParent | Gets the visual tree parent of the visual object. (Inherited from Visual.) | |
VisualScrollableAreaClip | Gets or sets a clipped scrollable area for the Visual. (Inherited from Visual.) | |
VisualTextHintingMode | Gets or sets the TextHintingMode of the Visual. (Inherited from Visual.) | |
VisualTextRenderingMode | Gets or sets the TextRenderingMode of the Visual. (Inherited from Visual.) | |
VisualTransform | (Inherited from Visual.) | |
VisualXSnappingGuidelines | Gets or sets the x-coordinate (vertical) guideline collection. (Inherited from Visual.) | |
VisualYSnappingGuidelines | Gets or sets the y-coordinate (horizontal) guideline collection. (Inherited from Visual.) | |
XSnappingGuidelines | Gets or sets the X (horizontal) guideline for the ContainerVisual. (Inherited from ContainerVisual.) | |
YSnappingGuidelines | Gets or sets the Y (vertical) guideline for the ContainerVisual. (Inherited from ContainerVisual.) |
Name | Description | |
---|---|---|
AddVisualChild | Defines the parent-child relationship between two visuals. (Inherited from Visual.) | |
AdjustToBarNPrice |
Adjusts to the nearest bar and price
| |
CalculatePriceFromY |
Calculates the price from Y
| |
CalculateXPoint |
Calculates the X point
| |
CalculateYFromPrice |
Returns the Y point from entry price
| |
CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) | |
ClearValue(DependencyProperty) | Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. (Inherited from DependencyObject.) | |
ClearValue(DependencyPropertyKey) | Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. (Inherited from DependencyObject.) | |
CoerceValue | Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject. (Inherited from DependencyObject.) | |
Contains |
Checks for the hittest
| |
Draw |
Draws the object
| |
DrawHandle |
Draws the handle
| |
Equals | Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (Inherited from DependencyObject.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindCommonVisualAncestor | Returns the common ancestor of two visual objects. (Inherited from Visual.) | |
GetHandle |
Returns the handle point
| |
GetHandleCursor |
Returns the handle cursor
| |
GetHandleRect |
Returns the rectangle handle
| |
GetHashCode | Gets a hash code for this DependencyObject. (Inherited from DependencyObject.) | |
GetLocalValueEnumerator | Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (Inherited from DependencyObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue | Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.) | |
GetVisualChild | Returns a specified child Visual for the parent ContainerVisual. (Inherited from ContainerVisual.) | |
HitTest(Point) | Returns the top-most visual object of a hit test by specifying a Point. (Inherited from ContainerVisual.) | |
HitTest(HitTestFilterCallback, HitTestResultCallback, HitTestParameters) | Initiates a hit test on the ContainerVisual by using the HitTestFilterCallback and HitTestResultCallback objects. (Inherited from ContainerVisual.) | |
HitTestCore(PointHitTestParameters) | Determines whether a point coordinate value is within the bounds of the DrawingVisual object. (Inherited from DrawingVisual.) | |
HitTestCore(GeometryHitTestParameters) | Determines whether a geometry value is within the bounds of the visual object. (Inherited from DrawingVisual.) | |
IntersectsWith |
Checks if the object intersects with another object
| |
InvalidateProperty | Re-evaluates the effective value for the specified dependency property (Inherited from DependencyObject.) | |
IsAncestorOf | Determines whether the visual object is an ancestor of the descendant visual object. (Inherited from Visual.) | |
IsDescendantOf | Determines whether the visual object is a descendant of the ancestor visual object. (Inherited from Visual.) | |
Log |
Appends the message to the log tab in Main View
| |
MakeHitTest |
Hit test.
Return value: -1 - no hit
0 - hit anywhere
> 1 - handle number
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Move |
Moves the object to a new location
| |
MoveHandleTo |
Moves the handle to a new point
| |
OnPropertyChanged | Invoked whenever the effective value of any dependency property on this DependencyObject has been updated. The specific dependency property that changed is reported in the event data. (Inherited from DependencyObject.) | |
OnVisualChildrenChanged | Called when the VisualCollection of the visual object is modified. (Inherited from Visual.) | |
OnVisualParentChanged | Called when the parent of the visual object is changed. (Inherited from Visual.) | |
PointFromScreen | Converts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual. (Inherited from Visual.) | |
PointToScreen | Converts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates. (Inherited from Visual.) | |
Prints the message to the Output view
| ||
ReadLocalValue | Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.) | |
Refresh |
Refresh the view
| |
RemoveVisualChild | Removes the parent-child relationship between two visuals. (Inherited from Visual.) | |
RenderOpen | Opens the DrawingVisual object for rendering. The returned DrawingContext value can be used to render into the DrawingVisual. (Inherited from DrawingVisual.) | |
SetCurrentValue | Sets the value of a dependency property without changing its value source. (Inherited from DependencyObject.) | |
SetValue(DependencyProperty, Object) | Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.) | |
SetValue(DependencyPropertyKey, Object) | Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property. (Inherited from DependencyObject.) | |
ShouldSerializeProperty | Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited from DependencyObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TransformToAncestor(Visual) | Returns a transform that can be used to transform coordinates from the Visual to the specified Visual ancestor of the visual object. (Inherited from Visual.) | |
TransformToAncestor(Visual3D) | Returns a transform that can be used to transform coordinates from the Visual to the specified Visual3D ancestor of the visual object. (Inherited from Visual.) | |
TransformToDescendant | Returns a transform that can be used to transform coordinates from the Visual to the specified visual object descendant. (Inherited from Visual.) | |
TransformToVisual | Returns a transform that can be used to transform coordinates from the Visual to the specified visual object. (Inherited from Visual.) | |
VerifyAccess | Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
Name | Description | |
---|---|---|
HandleSize |
Gets the handle size
|