Click or drag to resize
DrawingBase Class
Base class for Drawing objects
Inheritance Hierarchy

Namespace: SharpCharts.Base.ChartObject
Assembly: SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.6 (1.0.0.6)
Syntax
C#
public abstract class DrawingBase : DrawingVisual

The DrawingBase type exposes the following members.

Constructors
  NameDescription
Public methodDrawingBase
Top
Properties
  NameDescription
Public propertyActualHeight
Gets or sets the actual height
Protected propertyActualLineWidth
Gets the actual width
Public propertyActualScale
Gets the actual scale
Public propertyActualWidth
Gets or sets the actual width
Public propertyBars
Gets the Bars associated with the object
Public propertyBarSpace
Gets or sets the bar space
Public propertyBarWidth
Gets or sets the bar width
Public propertyBitmapEffect Obsolete.
Gets or sets a BitmapEffect value for the ContainerVisual.
(Inherited from ContainerVisual.)
Public propertyBitmapEffectInput Obsolete.
Gets or sets a BitmapEffectInput value for the ContainerVisual.
(Inherited from ContainerVisual.)
Public propertyBrush
Gets the object brush
Public propertyCacheMode
Gets or sets a cached representation of the ContainerVisual.
(Inherited from ContainerVisual.)
Public propertyChildren
Gets the child collection of the ContainerVisual.
(Inherited from ContainerVisual.)
Public propertyClip
Gets or sets the clipping region of the ContainerVisual.
(Inherited from ContainerVisual.)
Public propertyContentBounds
Gets the bounding box for the contents of the ContainerVisual.
(Inherited from ContainerVisual.)
Public propertyDefaultTemplate
Gets the default template
Public propertyDependencyObjectType
Gets the DependencyObjectType that wraps the CLR type of this instance. 
(Inherited from DependencyObject.)
Public propertyDescendantBounds
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.)
Public propertyDispatcher
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.)
Public propertyDrawing
Gets the drawing content of the DrawingVisual object.
(Inherited from DrawingVisual.)
Public propertyEffect
Gets or sets the bitmap effect to apply to the ContainerVisual.
(Inherited from ContainerVisual.)
Public propertyHandleCount
Gets the number of handles
Protected propertyInnerHandleBrush
Gets the Inner handle brush
Public propertyIsSealed
Gets a value that indicates whether this instance is currently sealed (read-only).
(Inherited from DependencyObject.)
Public propertyIsSelected
Gets or sets whether the object is selected or not
Public propertyLastBarPainted
Protected propertyLineHitTestWidth
Public propertyLineWidth
Gets or sets the width of the line
Public propertyMax
Gets or sets the max
Public propertyMin
Gets or sets the min
Public propertyName
Public propertyOffset
Gets or sets the offset value of the ContainerVisual from its reference point.
(Inherited from ContainerVisual.)
Public propertyOpacity
Gets or sets the opacity of the ContainerVisual, based on 0=transparent, 1=opaque.
(Inherited from ContainerVisual.)
Public propertyOpacityMask
Gets or sets a brush that specifies a possible opacity mask for the ContainerVisual.
(Inherited from ContainerVisual.)
Protected propertyOuterHandleBrush
Gets the outerHandleBrush
Public propertyParent
Gets the parent Visual for the ContainerVisual.
(Inherited from ContainerVisual.)
Public propertyTemplate
Gets the template object
Public propertyTemplateType
Gets the template type
Public propertyTransform
Gets or sets the transform that is applied to the ContainerVisual.
(Inherited from ContainerVisual.)
Protected propertyVisualBitmapEffect Obsolete.
Gets or sets the BitmapEffect value for the Visual.
(Inherited from Visual.)
Protected propertyVisualBitmapEffectInput Obsolete.
Gets or sets the BitmapEffectInput value for the Visual.
(Inherited from Visual.)
Protected propertyVisualBitmapScalingMode
Gets or sets the BitmapScalingMode for the Visual.
(Inherited from Visual.)
Protected propertyVisualCacheMode
Gets or sets a cached representation of the Visual.
(Inherited from Visual.)
Protected propertyVisualChildrenCount
Gets the number of children for the ContainerVisual.
(Inherited from ContainerVisual.)
Protected propertyVisualClearTypeHint
Gets or sets the ClearTypeHint that determines how ClearType is rendered in the Visual.
(Inherited from Visual.)
Protected propertyVisualClip
Gets or sets the clip region of the Visual as a Geometry value.
(Inherited from Visual.)
Protected propertyVisualEdgeMode
Gets or sets the edge mode of the Visual as an EdgeMode value.
(Inherited from Visual.)
Protected propertyVisualEffect
Gets or sets the bitmap effect to apply to the Visual.
(Inherited from Visual.)
Protected propertyVisualOffset
Gets or sets the offset value of the visual object.
(Inherited from Visual.)
Protected propertyVisualOpacity
Gets or sets the opacity of the Visual.
(Inherited from Visual.)
Protected propertyVisualOpacityMask
Gets or sets the Brush value that represents the opacity mask of the Visual.
(Inherited from Visual.)
Protected propertyVisualParent
Gets the visual tree parent of the visual object.
(Inherited from Visual.)
Protected propertyVisualScrollableAreaClip
Gets or sets a clipped scrollable area for the Visual.
(Inherited from Visual.)
Protected propertyVisualTextHintingMode
Gets or sets the TextHintingMode of the Visual.
(Inherited from Visual.)
Protected propertyVisualTextRenderingMode
Gets or sets the TextRenderingMode of the Visual.
(Inherited from Visual.)
Protected propertyVisualTransform
Gets or sets the Transform value for the Visual.
(Inherited from Visual.)
Protected propertyVisualXSnappingGuidelines
Gets or sets the x-coordinate (vertical) guideline collection.
(Inherited from Visual.)
Protected propertyVisualYSnappingGuidelines
Gets or sets the y-coordinate (horizontal) guideline collection.
(Inherited from Visual.)
Public propertyXSnappingGuidelines
Gets or sets the X (horizontal) guideline for the ContainerVisual.
(Inherited from ContainerVisual.)
Public propertyYSnappingGuidelines
Gets or sets the Y (vertical) guideline for the ContainerVisual.
(Inherited from ContainerVisual.)
Top
Methods
  NameDescription
Protected methodAddVisualChild
Defines the parent-child relationship between two visuals.
(Inherited from Visual.)
Public methodAdjustToBarNPrice
Adjusts to the nearest bar and price
Protected methodCalculatePriceFromY
Calculates the price from Y
Protected methodCalculateXPoint
Calculates the X point
Protected methodCalculateYFromPrice
Returns the Y point from entry price
Public methodCheckAccess
Determines whether the calling thread has access to this DispatcherObject.
(Inherited from DispatcherObject.)
Public methodClearValue(DependencyProperty)
Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.
(Inherited from DependencyObject.)
Public methodClearValue(DependencyPropertyKey)
Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey.
(Inherited from DependencyObject.)
Public methodCoerceValue
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.)
Public methodContains
Checks for the hittest
Public methodDraw
Draws the object
Public methodDrawHandle
Draws the handle
Public methodEquals
Determines whether a provided DependencyObject is equivalent to the current DependencyObject.
(Inherited from DependencyObject.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindCommonVisualAncestor
Returns the common ancestor of two visual objects.
(Inherited from Visual.)
Public methodGetHandle
Returns the handle point
Public methodGetHandleCursor
Returns the handle cursor
Public methodGetHandleRect
Returns the rectangle handle
Public methodGetHashCode
Gets a hash code for this DependencyObject.
(Inherited from DependencyObject.)
Public methodGetLocalValueEnumerator
Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.
(Inherited from DependencyObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns the current effective value of a dependency property on this instance of a DependencyObject.
(Inherited from DependencyObject.)
Protected methodGetVisualChild
Returns a specified child Visual for the parent ContainerVisual.
(Inherited from ContainerVisual.)
Public methodHitTest(Point)
Returns the top-most visual object of a hit test by specifying a Point.
(Inherited from ContainerVisual.)
Public methodHitTest(HitTestFilterCallback, HitTestResultCallback, HitTestParameters)
Initiates a hit test on the ContainerVisual by using the HitTestFilterCallback and HitTestResultCallback objects.
(Inherited from ContainerVisual.)
Protected methodHitTestCore(PointHitTestParameters)
Determines whether a point coordinate value is within the bounds of the DrawingVisual object.
(Inherited from DrawingVisual.)
Protected methodHitTestCore(GeometryHitTestParameters)
Determines whether a geometry value is within the bounds of the visual object.
(Inherited from DrawingVisual.)
Public methodIntersectsWith
Checks if the object intersects with another object
Public methodInvalidateProperty
Re-evaluates the effective value for the specified dependency property
(Inherited from DependencyObject.)
Public methodIsAncestorOf
Determines whether the visual object is an ancestor of the descendant visual object.
(Inherited from Visual.)
Public methodIsDescendantOf
Determines whether the visual object is a descendant of the ancestor visual object.
(Inherited from Visual.)
Protected methodLog
Appends the message to the log tab in Main View
Public methodMakeHitTest
Hit test. Return value: -1 - no hit 0 - hit anywhere > 1 - handle number
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMove
Moves the object to a new location
Public methodMoveHandleTo
Moves the handle to a new point
Protected methodOnPropertyChanged
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.)
Protected methodOnVisualChildrenChanged
Called when the VisualCollection of the visual object is modified.
(Inherited from Visual.)
Protected methodOnVisualParentChanged
Called when the parent of the visual object is changed.
(Inherited from Visual.)
Public methodPointFromScreen
Converts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual.
(Inherited from Visual.)
Public methodPointToScreen
Converts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates.
(Inherited from Visual.)
Protected methodPrint
Prints the message to the Output view
Public methodReadLocalValue
Returns the local value of a dependency property, if it exists.
(Inherited from DependencyObject.)
Public methodRefresh
Refresh the view
Protected methodRemoveVisualChild
Removes the parent-child relationship between two visuals.
(Inherited from Visual.)
Public methodRenderOpen
Opens the DrawingVisual object for rendering. The returned DrawingContext value can be used to render into the DrawingVisual.
(Inherited from DrawingVisual.)
Public methodSetCurrentValue
Sets the value of a dependency property without changing its value source.
(Inherited from DependencyObject.)
Public methodSetValue(DependencyProperty, Object)
Sets the local value of a dependency property, specified by its dependency property identifier.
(Inherited from DependencyObject.)
Public methodSetValue(DependencyPropertyKey, Object)
Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.
(Inherited from DependencyObject.)
Protected methodShouldSerializeProperty
Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.
(Inherited from DependencyObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransformToAncestor(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.)
Public methodTransformToAncestor(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.)
Public methodTransformToDescendant
Returns a transform that can be used to transform coordinates from the Visual to the specified visual object descendant.
(Inherited from Visual.)
Public methodTransformToVisual
Returns a transform that can be used to transform coordinates from the Visual to the specified visual object.
(Inherited from Visual.)
Public methodVerifyAccess
Enforces that the calling thread has access to this DispatcherObject.
(Inherited from DispatcherObject.)
Top
Fields
  NameDescription
Protected fieldStatic memberHandleSize
Gets the handle size
Top
See Also