Click or drag to resize

WpfLinesAnnotation Methods

The WpfLinesAnnotation type exposes the following members.

Methods
  NameDescription
Protected methodAddVisualChild
Defines the parent-child relationship between two visuals.
(Inherited from Visual.)
Public methodAttachGrips
This method is called by the WpfAnnotationCanvas to ask the annotation for Grip creation.
(Inherited from WpfAnnotationUI.)
Protected methodAttachGripsOverride
Called when the annotation grips need to be created.
(Inherited from WpfPointBaseAnnotation.)
Protected methodCalculateGeometry
Calculates the geometry of the annotation with the specified parameters.
(Inherited from WpfAnnotationUI.)
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 methodClone
Creates a copy of the anotation.
(Inherited from WpfAnnotationUI.)
Protected methodCloneOverride
Derived classes must override this method and return a copy of itself.
(Overrides WpfAnnotationUICloneOverride(WpfAnnotationUI).)
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 methodCreateDataSnapshot
This method creates an AnnotationData copy of this annotation for serialization.
(Inherited from WpfAnnotationUI.)
Protected methodCreateDataSnapshotOverride
This method is used to serialize the annotation.
(Overrides WpfAnnotationUICreateDataSnapshotOverride.)
Protected methodEndUserCreation
Ends the "create" mode for the annotation.
(Inherited from WpfPointBaseAnnotation.)
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 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 methodGetPointArray
returns the Point objects as an array.
(Inherited from WpfPointBaseAnnotation.)
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 the specified Visual in the parent VisualCollection.
(Inherited from Visual.)
Public methodHitTest
This method will determine whether the specified point is on the annotation.
(Inherited from WpfAnnotationUI.)
Protected methodHitTestCore(PointHitTestParameters)
Determines whether a point coordinate value is within the bounds of the visual object.
(Inherited from WpfAnnotationUI.)
Protected methodHitTestCore(GeometryHitTestParameters)
Determines whether a geometry value is within the bounds of the visual object.
(Inherited from Visual.)
Public methodInvalidateProperty
Re-evaluates the effective value for the specified dependency property
(Inherited from DependencyObject.)
Protected methodInvalidateVisual
Forces the annotation to redraw itself.
(Inherited from WpfAnnotationUI.)
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 methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMirror
Mirrors the annotation in the specified direction.
(Inherited from WpfAnnotationUI.)
Protected methodNormalizePoints
This method will correct any negative points in the collection.
(Inherited from WpfPointBaseAnnotation.)
Protected methodNormalizePoints(Point)
corrects any negitive points in the collection
(Inherited from WpfPointBaseAnnotation.)
Protected methodOnAnnotationBrushChanged
Called when the FillProperty has changed.
(Inherited from WpfAnnotationUI.)
Protected methodOnAnnotationCreated
Called after the annotation has been created.
(Inherited from WpfPointBaseAnnotation.)
Protected methodOnAnnotationFontChanged
Called when the FontProperty has changed.
(Inherited from WpfAnnotationUI.)
Protected methodOnAnnotationPenChanged
Called when the OutlineProperty has changed.
(Inherited from WpfAnnotationUI.)
Protected methodOnCanvasChanged
Called when the Canvas property has changed.
(Inherited from WpfAnnotationUI.)
Protected methodOnGripModeChanged
Called when the GripMode property has been changed.
(Inherited from WpfPointBaseAnnotation.)
Protected methodOnGripPositionChanged
Called when a grip for the annotation has moved.
(Inherited from WpfPointBaseAnnotation.)
Protected methodOnMouseDown
Called when a MouseDown event has been raised for the annotation.
(Inherited from WpfPointBaseAnnotation.)
Protected methodOnMouseMove
Called when a MouseMove event has been raised for the annotation.
(Inherited from WpfPointBaseAnnotation.)
Protected methodOnMouseUp
Called when a MouseUp event has been raised for the annotation.
(Inherited from WpfPointBaseAnnotation.)
Protected methodOnPropertyChanged
Raises the PropertyChanged event.
(Inherited from WpfPointBaseAnnotation.)
Protected methodOnRotateDocument
Called when the document has been rotated.
(Inherited from WpfAnnotationUI.)
Protected methodOnSelectedChanged
Called when the Selected property has been changed.
(Inherited from WpfAnnotationUI.)
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.)
Protected methodOperationRequest
Called when a request operation has been raised on the annotation.
(Inherited from WpfAnnotationUI.)
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.)
Public methodPredetermineRenderBounds
This method is used to calculate the expected render bounds of an annotation if its rotation was changed.
(Inherited from WpfAnnotationUI.)
Public methodRaiseEvent
This method is used to force an event in the annotation.
(Inherited from WpfAnnotationUI.)
Public methodReadLocalValue
Returns the local value of a dependency property, if it exists.
(Inherited from DependencyObject.)
Public methodRemove
This method will remove the annotation from its parent layer.
(Inherited from WpfAnnotationUI.)
Protected methodRemoveVisualChild
Removes the parent-child relationship between two visuals.
(Inherited from Visual.)
Protected methodReplaceGrips
Call this method to replace the current annotation grips with new grips.
(Inherited from WpfAnnotationUI.)
Public methodResetMirrorVariables
This method will reset the internal Matrix used for mirroring.
(Inherited from WpfAnnotationUI.)
Protected methodResizePoints
This method will update the Point values to fill the provided size.
(Inherited from WpfPointBaseAnnotation.)
Public methodRotate
This method will append a rotation to the annotation's current rotation.
(Inherited from WpfAnnotationUI.)
Protected methodRotatePoints
Puts the array of points through a matrix rotation transform
(Inherited from WpfPointBaseAnnotation.)
Public methodSetCurrentValue
Sets the value of a dependency property without changing its value source.
(Inherited from DependencyObject.)
Protected methodSetGripPositions
Call this method to add or update the grip positions.
(Inherited from WpfPointBaseAnnotation.)
Protected methodSetLocationAndSize
This method will update the Location and Size properties based on the point values.
(Inherited from WpfPointBaseAnnotation.)
Public methodSetTransparency
Sets the alpha values for the Fill and Outline of the annotation.
(Inherited from WpfAnnotationUI.)
Protected methodSetUserHasCreated
Derived class should call this method to indicate that their creation process has completed.
(Inherited from WpfAnnotationUI.)
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
See Also