RingDotNetfor Ring

System.Windows.Ink

18 wrapped types. Load them with using { "System.Windows.Ink" }. Click a class to open it.

DrawingAttributeIds class static

System.Windows.Ink.DrawingAttributeIds · assembly PresentationCore

Properties and fields

NameTypeAccessIn Ring
ColorGuidread · statico.Color
StylusTipGuidread · statico.StylusTip
StylusTipTransformGuidread · statico.StylusTipTransform
StylusHeightGuidread · statico.StylusHeight
StylusWidthGuidread · statico.StylusWidth
DrawingFlagsGuidread · statico.DrawingFlags
IsHighlighterGuidread · statico.IsHighlighter
DrawingAttributes class

System.Windows.Ink.DrawingAttributes · assembly PresentationCore

Implements: INotifyPropertyChanged

Constructors

new DrawingAttributes()

Ring: new DrawingAttributes(args) uses one constructor; the others are chosen by the parameter names: new DrawingAttributes().@New([ :param = value ]) or dnNew("DrawingAttributes",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ColorColorread, writeo.Color o.Color = v
StylusTipStylusTipread, writeo.StylusTip o.StylusTip = v
StylusTipTransformMatrixread, writeo.StylusTipTransform o.StylusTipTransform = v
Heightdoubleread, writeo.Height o.Height = v
Widthdoubleread, writeo.Width o.Width = v
FitToCurveboolread, writeo.FitToCurve o.FitToCurve = v
IgnorePressureboolread, writeo.IgnorePressure o.IgnorePressure = v
IsHighlighterboolread, writeo.IsHighlighter o.IsHighlighter = v
MinHeightdoubleread · statico.MinHeight
MinWidthdoubleread · statico.MinWidth
MaxHeightdoubleread · statico.MaxHeight
MaxWidthdoubleread · statico.MaxWidth

Methods

MethodRing call.NET overloads
AddPropertyDataAddPropertyData(p1,p2)void AddPropertyData(Guid propertyDataId, object propertyData)
ClonecallMethod("Clone",[])DrawingAttributes Clone()
ContainsPropertyDataContainsPropertyData(p1)bool ContainsPropertyData(Guid propertyDataId)
EqualsEquals(p1)bool Equals(object o)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
GetPropertyDatacallMethod("GetPropertyData",[p1])object GetPropertyData(Guid propertyDataId)
GetPropertyDataIdscallMethod("GetPropertyDataIds",[])Guid[] GetPropertyDataIds()
RemovePropertyDataRemovePropertyData(p1)void RemovePropertyData(Guid propertyDataId)

Events

EventHandler typeIn Ring
AttributeChangedPropertyDataChangedEventHandlero.setAttributeChangedEvent(code) · o.clearAttributeChangedEvent()
PropertyDataChangedPropertyDataChangedEventHandlero.setPropertyDataChangedEvent(code) · o.clearPropertyDataChangedEvent()
DrawingAttributesReplacedEventArgs class · extends EventArgs

System.Windows.Ink.DrawingAttributesReplacedEventArgs · assembly PresentationCore

Constructors

new DrawingAttributesReplacedEventArgs(DrawingAttributes newDrawingAttributes, DrawingAttributes previousDrawingAttributes)

Ring: new DrawingAttributesReplacedEventArgs(args) uses one constructor; the others are chosen by the parameter names: new DrawingAttributesReplacedEventArgs().@New([ :param = value ]) or dnNew("DrawingAttributesReplacedEventArgs",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
NewDrawingAttributesDrawingAttributesreado.NewDrawingAttributes
PreviousDrawingAttributesDrawingAttributesreado.PreviousDrawingAttributes

Members of the base class are inherited.

EllipseStylusShape class sealed · extends StylusShape

System.Windows.Ink.EllipseStylusShape · assembly PresentationCore

Constructors

new EllipseStylusShape(double width, double height)
new EllipseStylusShape(double width, double height, double rotation)

Ring: new EllipseStylusShape(args) uses one constructor; the others are chosen by the parameter names: new EllipseStylusShape().@New([ :param = value ]) or dnNew("EllipseStylusShape",[ :param = value ]).

Members of the base class are inherited.

GestureRecognitionResult class

System.Windows.Ink.GestureRecognitionResult · assembly PresentationCore

Properties and fields

NameTypeAccessIn Ring
RecognitionConfidenceRecognitionConfidencereado.RecognitionConfidence
ApplicationGestureApplicationGesturereado.ApplicationGesture
GestureRecognizer class sealed · extends DependencyObject

System.Windows.Ink.GestureRecognizer · assembly PresentationCore

Implements: IDisposable

Constructors

new GestureRecognizer()
new GestureRecognizer(IEnumerable<ApplicationGesture> enabledApplicationGestures)

Ring: new GestureRecognizer(args) uses one constructor; the others are chosen by the parameter names: new GestureRecognizer().@New([ :param = value ]) or dnNew("GestureRecognizer",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsRecognizerAvailableboolreado.IsRecognizerAvailable

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
GetEnabledGesturescallMethod("GetEnabledGestures",[])ReadOnlyCollection<ApplicationGesture> GetEnabledGestures()
RecognizecallMethod("Recognize",[p1])ReadOnlyCollection<GestureRecognitionResult> Recognize(StrokeCollection strokes)
SetEnabledGesturesSetEnabledGestures(p1)void SetEnabledGestures(IEnumerable<ApplicationGesture> applicationGestures)

Members of the base class are inherited.

IncrementalHitTester class abstract

System.Windows.Ink.IncrementalHitTester · assembly PresentationCore

Properties and fields

NameTypeAccessIn Ring
IsValidboolreado.IsValid

Methods

MethodRing call.NET overloads
AddPointAddPoint(p1)void AddPoint(Point point)
AddPointsAddPoints(p1)void AddPoints(IEnumerable<Point> points)
void AddPoints(StylusPointCollection stylusPoints)
EndHitTestingcallMethod("EndHitTesting",[])void EndHitTesting()
IncrementalLassoHitTester class · extends IncrementalHitTester

System.Windows.Ink.IncrementalLassoHitTester · assembly PresentationCore

Events

EventHandler typeIn Ring
SelectionChangedLassoSelectionChangedEventHandlero.setSelectionChangedEvent(code) · o.clearSelectionChangedEvent()

Members of the base class are inherited.

IncrementalStrokeHitTester class · extends IncrementalHitTester

System.Windows.Ink.IncrementalStrokeHitTester · assembly PresentationCore

Events

EventHandler typeIn Ring
StrokeHitStrokeHitEventHandlero.setStrokeHitEvent(code) · o.clearStrokeHitEvent()

Members of the base class are inherited.

LassoSelectionChangedEventArgs class · extends EventArgs

System.Windows.Ink.LassoSelectionChangedEventArgs · assembly PresentationCore

Properties and fields

NameTypeAccessIn Ring
SelectedStrokesStrokeCollectionreado.SelectedStrokes
DeselectedStrokesStrokeCollectionreado.DeselectedStrokes

Members of the base class are inherited.

PropertyDataChangedEventArgs class · extends EventArgs

System.Windows.Ink.PropertyDataChangedEventArgs · assembly PresentationCore

Constructors

new PropertyDataChangedEventArgs(Guid propertyGuid, object newValue, object previousValue)

Ring: new PropertyDataChangedEventArgs(args) uses one constructor; the others are chosen by the parameter names: new PropertyDataChangedEventArgs().@New([ :param = value ]) or dnNew("PropertyDataChangedEventArgs",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
PropertyGuidGuidreado.PropertyGuid
NewValueobjectreado.NewValue
PreviousValueobjectreado.PreviousValue

Members of the base class are inherited.

RectangleStylusShape class sealed · extends StylusShape

System.Windows.Ink.RectangleStylusShape · assembly PresentationCore

Constructors

new RectangleStylusShape(double width, double height)
new RectangleStylusShape(double width, double height, double rotation)

Ring: new RectangleStylusShape(args) uses one constructor; the others are chosen by the parameter names: new RectangleStylusShape().@New([ :param = value ]) or dnNew("RectangleStylusShape",[ :param = value ]).

Members of the base class are inherited.

Stroke class

System.Windows.Ink.Stroke · assembly PresentationCore

Implements: INotifyPropertyChanged

Constructors

new Stroke(StylusPointCollection stylusPoints)
new Stroke(StylusPointCollection stylusPoints, DrawingAttributes drawingAttributes)

Ring: new Stroke(args) uses one constructor; the others are chosen by the parameter names: new Stroke().@New([ :param = value ]) or dnNew("Stroke",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
DrawingAttributesDrawingAttributesread, writeo.DrawingAttributes o.DrawingAttributes = v
StylusPointsStylusPointCollectionread, writeo.StylusPoints o.StylusPoints = v

Methods

MethodRing call.NET overloads
AddPropertyDataAddPropertyData(p1,p2)void AddPropertyData(Guid propertyDataId, object propertyData)
ClonecallMethod("Clone",[])Stroke Clone()
ContainsPropertyDataContainsPropertyData(p1)bool ContainsPropertyData(Guid propertyDataId)
DrawcallMethod("Draw",[p1])
callMethod("Draw",[p1,p2])
void Draw(DrawingContext context)
void Draw(DrawingContext drawingContext, DrawingAttributes drawingAttributes)
GetBezierStylusPointscallMethod("GetBezierStylusPoints",[])StylusPointCollection GetBezierStylusPoints()
GetBoundscallMethod("GetBounds",[])Rect GetBounds()
GetClipResultcallMethod("GetClipResult",[p1])StrokeCollection GetClipResult(Rect bounds)
StrokeCollection GetClipResult(IEnumerable<Point> lassoPoints)
GetEraseResultGetEraseResult(value)
GetEraseResult([ :bounds = … ])
GetEraseResult([ :lassoPoints = … ])
GetEraseResult([ :eraserPath = …, :eraserShape = … ])
StrokeCollection GetEraseResult(Rect bounds)
StrokeCollection GetEraseResult(IEnumerable<Point> lassoPoints)
StrokeCollection GetEraseResult(IEnumerable<Point> eraserPath, StylusShape eraserShape)
GetGeometryGetGeometry(NULL)
GetGeometry(value)
GetGeometry([ :drawingAttributes = … ])
Geometry GetGeometry()
Geometry GetGeometry(DrawingAttributes drawingAttributes)
GetPropertyDatacallMethod("GetPropertyData",[p1])object GetPropertyData(Guid propertyDataId)
GetPropertyDataIdscallMethod("GetPropertyDataIds",[])Guid[] GetPropertyDataIds()
HitTestcallMethod("HitTest",[p1])
callMethod("HitTest",[p1,p2])
bool HitTest(Point point)
bool HitTest(Point point, double diameter)
bool HitTest(Rect bounds, int percentageWithinBounds)
bool HitTest(IEnumerable<Point> lassoPoints, int percentageWithinLasso)
bool HitTest(IEnumerable<Point> path, StylusShape stylusShape)
RemovePropertyDataRemovePropertyData(p1)void RemovePropertyData(Guid propertyDataId)
TransformTransform(p1,p2)void Transform(Matrix transformMatrix, bool applyToStylusTip)

Events

EventHandler typeIn Ring
DrawingAttributesChangedPropertyDataChangedEventHandlero.setDrawingAttributesChangedEvent(code) · o.clearDrawingAttributesChangedEvent()
DrawingAttributesReplacedDrawingAttributesReplacedEventHandlero.setDrawingAttributesReplacedEvent(code) · o.clearDrawingAttributesReplacedEvent()
StylusPointsReplacedStylusPointsReplacedEventHandlero.setStylusPointsReplacedEvent(code) · o.clearStylusPointsReplacedEvent()
StylusPointsChangedEventHandlero.setStylusPointsChangedEvent(code) · o.clearStylusPointsChangedEvent()
PropertyDataChangedPropertyDataChangedEventHandlero.setPropertyDataChangedEvent(code) · o.clearPropertyDataChangedEvent()
InvalidatedEventHandlero.setInvalidatedEvent(code) · o.clearInvalidatedEvent()
StrokeCollection class · extends Collection<Stroke>

System.Windows.Ink.StrokeCollection · assembly PresentationCore

Implements: IEnumerable, IList, ICollection, INotifyPropertyChanged, INotifyCollectionChanged

Constructors

new StrokeCollection()
new StrokeCollection(IEnumerable<Stroke> strokes)
new StrokeCollection(Stream stream)

Ring: new StrokeCollection(args) uses one constructor; the others are chosen by the parameter names: new StrokeCollection().@New([ :param = value ]) or dnNew("StrokeCollection",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Countintreado.getCount()
InkSerializedFormatstringread · statico.InkSerializedFormat

Indexer

o.Item(int index) → Stroke · o.SetItem(index,value)

Methods

MethodRing call.NET overloads
AddcallMethod("Add",[p1])void Add(StrokeCollection strokes)
void Add(Stroke item)
AddPropertyDataAddPropertyData(p1,p2)void AddPropertyData(Guid propertyDataId, object propertyData)
ClearcallMethod("Clear",[])void Clear()
ClipClip(p1)void Clip(IEnumerable<Point> lassoPoints)
void Clip(Rect bounds)
ClonecallMethod("Clone",[])StrokeCollection Clone()
ContainscallMethod("Contains",[p1])bool Contains(Stroke item)
ContainsPropertyDataContainsPropertyData(p1)bool ContainsPropertyData(Guid propertyDataId)
CopyToCopyTo(p1,p2)void CopyTo(Stroke[] array, int index)
DrawDraw(p1)void Draw(DrawingContext context)
ErasecallMethod("Erase",[p1])
callMethod("Erase",[p1,p2])
void Erase(IEnumerable<Point> lassoPoints)
void Erase(Rect bounds)
void Erase(IEnumerable<Point> eraserPath, StylusShape eraserShape)
GetBoundscallMethod("GetBounds",[])Rect GetBounds()
GetEnumeratorcallMethod("GetEnumerator",[])IEnumerator<Stroke> GetEnumerator()
GetIncrementalLassoHitTestercallMethod("GetIncrementalLassoHitTester",[p1])IncrementalLassoHitTester GetIncrementalLassoHitTester(int percentageWithinLasso)
GetIncrementalStrokeHitTestercallMethod("GetIncrementalStrokeHitTester",[p1])IncrementalStrokeHitTester GetIncrementalStrokeHitTester(StylusShape eraserShape)
GetPropertyDatacallMethod("GetPropertyData",[p1])object GetPropertyData(Guid propertyDataId)
GetPropertyDataIdscallMethod("GetPropertyDataIds",[])Guid[] GetPropertyDataIds()
HitTestHitTest(value)
HitTest([ :point = … ])
HitTest([ :point = …, :diameter = … ])
HitTest([ :lassoPoints = …, :percentageWithinLasso = … ])
HitTest([ :bounds = …, :percentageWithinBounds = … ])
StrokeCollection HitTest(Point point)
StrokeCollection HitTest(Point point, double diameter)
StrokeCollection HitTest(IEnumerable<Point> lassoPoints, int percentageWithinLasso)
StrokeCollection HitTest(Rect bounds, int percentageWithinBounds)
StrokeCollection HitTest(IEnumerable<Point> path, StylusShape stylusShape)
IndexOfcallMethod("IndexOf",[p1])int IndexOf(Stroke stroke)
int IndexOf(Stroke item)
InsertcallMethod("Insert",[p1,p2])void Insert(int index, Stroke item)
RemoveRemove(p1)void Remove(StrokeCollection strokes)
bool Remove(Stroke item)
RemoveAtcallMethod("RemoveAt",[p1])void RemoveAt(int index)
RemovePropertyDataRemovePropertyData(p1)void RemovePropertyData(Guid propertyDataId)
ReplaceReplace(p1,p2)void Replace(Stroke strokeToReplace, StrokeCollection strokesToReplaceWith)
void Replace(StrokeCollection strokesToReplace, StrokeCollection strokesToReplaceWith)
SavecallMethod("Save",[p1])
callMethod("Save",[p1,p2])
void Save(Stream stream, bool compress)
void Save(Stream stream)
TransformTransform(p1,p2)void Transform(Matrix transformMatrix, bool applyToStylusTip)

Events

EventHandler typeIn Ring
StrokesChangedStrokeCollectionChangedEventHandlero.setStrokesChangedEvent(code) · o.clearStrokesChangedEvent()
PropertyDataChangedPropertyDataChangedEventHandlero.setPropertyDataChangedEvent(code) · o.clearPropertyDataChangedEvent()

Members of the base class are inherited.

StrokeCollectionChangedEventArgs class · extends EventArgs

System.Windows.Ink.StrokeCollectionChangedEventArgs · assembly PresentationCore

Constructors

new StrokeCollectionChangedEventArgs(StrokeCollection added, StrokeCollection removed)

Ring: new StrokeCollectionChangedEventArgs(args) uses one constructor; the others are chosen by the parameter names: new StrokeCollectionChangedEventArgs().@New([ :param = value ]) or dnNew("StrokeCollectionChangedEventArgs",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
AddedStrokeCollectionreado.Added
RemovedStrokeCollectionreado.Removed

Members of the base class are inherited.

StrokeHitEventArgs class · extends EventArgs

System.Windows.Ink.StrokeHitEventArgs · assembly PresentationCore

Properties and fields

NameTypeAccessIn Ring
HitStrokeStrokereado.HitStroke

Methods

MethodRing call.NET overloads
GetPointEraseResultscallMethod("GetPointEraseResults",[])StrokeCollection GetPointEraseResults()

Members of the base class are inherited.

StylusPointsReplacedEventArgs class · extends EventArgs

System.Windows.Ink.StylusPointsReplacedEventArgs · assembly PresentationCore

Constructors

new StylusPointsReplacedEventArgs(StylusPointCollection newStylusPoints, StylusPointCollection previousStylusPoints)

Ring: new StylusPointsReplacedEventArgs(args) uses one constructor; the others are chosen by the parameter names: new StylusPointsReplacedEventArgs().@New([ :param = value ]) or dnNew("StylusPointsReplacedEventArgs",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
NewStylusPointsStylusPointCollectionreado.NewStylusPoints
PreviousStylusPointsStylusPointCollectionreado.PreviousStylusPoints

Members of the base class are inherited.

StylusShape class abstract

System.Windows.Ink.StylusShape · assembly PresentationCore

Properties and fields

NameTypeAccessIn Ring
Widthdoublereado.Width
Heightdoublereado.Height
Rotationdoublereado.Rotation