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
| Name | Type | Access | In Ring |
|---|---|---|---|
Color | Guid | read · static | o.Color |
StylusTip | Guid | read · static | o.StylusTip |
StylusTipTransform | Guid | read · static | o.StylusTipTransform |
StylusHeight | Guid | read · static | o.StylusHeight |
StylusWidth | Guid | read · static | o.StylusWidth |
DrawingFlags | Guid | read · static | o.DrawingFlags |
IsHighlighter | Guid | read · static | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Color | Color | read, write | o.Color o.Color = v |
StylusTip | StylusTip | read, write | o.StylusTip o.StylusTip = v |
StylusTipTransform | Matrix | read, write | o.StylusTipTransform o.StylusTipTransform = v |
Height | double | read, write | o.Height o.Height = v |
Width | double | read, write | o.Width o.Width = v |
FitToCurve | bool | read, write | o.FitToCurve o.FitToCurve = v |
IgnorePressure | bool | read, write | o.IgnorePressure o.IgnorePressure = v |
IsHighlighter | bool | read, write | o.IsHighlighter o.IsHighlighter = v |
MinHeight | double | read · static | o.MinHeight |
MinWidth | double | read · static | o.MinWidth |
MaxHeight | double | read · static | o.MaxHeight |
MaxWidth | double | read · static | o.MaxWidth |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddPropertyData | AddPropertyData(p1,p2) | void AddPropertyData(Guid propertyDataId, object propertyData) |
Clone | callMethod("Clone",[]) | DrawingAttributes Clone() |
ContainsPropertyData | ContainsPropertyData(p1) | bool ContainsPropertyData(Guid propertyDataId) |
Equals | Equals(p1) | bool Equals(object o) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
GetPropertyData | callMethod("GetPropertyData",[p1]) | object GetPropertyData(Guid propertyDataId) |
GetPropertyDataIds | callMethod("GetPropertyDataIds",[]) | Guid[] GetPropertyDataIds() |
RemovePropertyData | RemovePropertyData(p1) | void RemovePropertyData(Guid propertyDataId) |
Events
| Event | Handler type | In Ring |
|---|---|---|
AttributeChanged | PropertyDataChangedEventHandler | o.setAttributeChangedEvent(code) · o.clearAttributeChangedEvent() |
PropertyDataChanged | PropertyDataChangedEventHandler | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
NewDrawingAttributes | DrawingAttributes | read | o.NewDrawingAttributes |
PreviousDrawingAttributes | DrawingAttributes | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
RecognitionConfidence | RecognitionConfidence | read | o.RecognitionConfidence |
ApplicationGesture | ApplicationGesture | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
IsRecognizerAvailable | bool | read | o.IsRecognizerAvailable |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
GetEnabledGestures | callMethod("GetEnabledGestures",[]) | ReadOnlyCollection<ApplicationGesture> GetEnabledGestures() |
Recognize | callMethod("Recognize",[p1]) | ReadOnlyCollection<GestureRecognitionResult> Recognize(StrokeCollection strokes) |
SetEnabledGestures | SetEnabledGestures(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
| Name | Type | Access | In Ring |
|---|---|---|---|
IsValid | bool | read | o.IsValid |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddPoint | AddPoint(p1) | void AddPoint(Point point) |
AddPoints | AddPoints(p1) | void AddPoints(IEnumerable<Point> points)void AddPoints(StylusPointCollection stylusPoints) |
EndHitTesting | callMethod("EndHitTesting",[]) | void EndHitTesting() |
IncrementalLassoHitTester class · extends IncrementalHitTester
System.Windows.Ink.IncrementalLassoHitTester · assembly PresentationCore
Events
| Event | Handler type | In Ring |
|---|---|---|
SelectionChanged | LassoSelectionChangedEventHandler | o.setSelectionChangedEvent(code) · o.clearSelectionChangedEvent() |
Members of the base class are inherited.
IncrementalStrokeHitTester class · extends IncrementalHitTester
System.Windows.Ink.IncrementalStrokeHitTester · assembly PresentationCore
Events
| Event | Handler type | In Ring |
|---|---|---|
StrokeHit | StrokeHitEventHandler | o.setStrokeHitEvent(code) · o.clearStrokeHitEvent() |
Members of the base class are inherited.
LassoSelectionChangedEventArgs class · extends EventArgs
System.Windows.Ink.LassoSelectionChangedEventArgs · assembly PresentationCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SelectedStrokes | StrokeCollection | read | o.SelectedStrokes |
DeselectedStrokes | StrokeCollection | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
PropertyGuid | Guid | read | o.PropertyGuid |
NewValue | object | read | o.NewValue |
PreviousValue | object | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
DrawingAttributes | DrawingAttributes | read, write | o.DrawingAttributes o.DrawingAttributes = v |
StylusPoints | StylusPointCollection | read, write | o.StylusPoints o.StylusPoints = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddPropertyData | AddPropertyData(p1,p2) | void AddPropertyData(Guid propertyDataId, object propertyData) |
Clone | callMethod("Clone",[]) | Stroke Clone() |
ContainsPropertyData | ContainsPropertyData(p1) | bool ContainsPropertyData(Guid propertyDataId) |
Draw | callMethod("Draw",[p1])callMethod("Draw",[p1,p2]) | void Draw(DrawingContext context)void Draw(DrawingContext drawingContext, DrawingAttributes drawingAttributes) |
GetBezierStylusPoints | callMethod("GetBezierStylusPoints",[]) | StylusPointCollection GetBezierStylusPoints() |
GetBounds | callMethod("GetBounds",[]) | Rect GetBounds() |
GetClipResult | callMethod("GetClipResult",[p1]) | StrokeCollection GetClipResult(Rect bounds)StrokeCollection GetClipResult(IEnumerable<Point> lassoPoints) |
GetEraseResult | GetEraseResult(value)GetEraseResult([ :bounds = … ])GetEraseResult([ :lassoPoints = … ])GetEraseResult([ :eraserPath = …, :eraserShape = … ]) | StrokeCollection GetEraseResult(Rect bounds)StrokeCollection GetEraseResult(IEnumerable<Point> lassoPoints)StrokeCollection GetEraseResult(IEnumerable<Point> eraserPath, StylusShape eraserShape) |
GetGeometry | GetGeometry(NULL)GetGeometry(value)GetGeometry([ :drawingAttributes = … ]) | Geometry GetGeometry()Geometry GetGeometry(DrawingAttributes drawingAttributes) |
GetPropertyData | callMethod("GetPropertyData",[p1]) | object GetPropertyData(Guid propertyDataId) |
GetPropertyDataIds | callMethod("GetPropertyDataIds",[]) | Guid[] GetPropertyDataIds() |
HitTest | callMethod("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) |
RemovePropertyData | RemovePropertyData(p1) | void RemovePropertyData(Guid propertyDataId) |
Transform | Transform(p1,p2) | void Transform(Matrix transformMatrix, bool applyToStylusTip) |
Events
| Event | Handler type | In Ring |
|---|---|---|
DrawingAttributesChanged | PropertyDataChangedEventHandler | o.setDrawingAttributesChangedEvent(code) · o.clearDrawingAttributesChangedEvent() |
DrawingAttributesReplaced | DrawingAttributesReplacedEventHandler | o.setDrawingAttributesReplacedEvent(code) · o.clearDrawingAttributesReplacedEvent() |
StylusPointsReplaced | StylusPointsReplacedEventHandler | o.setStylusPointsReplacedEvent(code) · o.clearStylusPointsReplacedEvent() |
StylusPointsChanged | EventHandler | o.setStylusPointsChangedEvent(code) · o.clearStylusPointsChangedEvent() |
PropertyDataChanged | PropertyDataChangedEventHandler | o.setPropertyDataChangedEvent(code) · o.clearPropertyDataChangedEvent() |
Invalidated | EventHandler | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.getCount() |
InkSerializedFormat | string | read · static | o.InkSerializedFormat |
Indexer
o.Item(int index) → Stroke · o.SetItem(index,value)
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | callMethod("Add",[p1]) | void Add(StrokeCollection strokes)void Add(Stroke item) |
AddPropertyData | AddPropertyData(p1,p2) | void AddPropertyData(Guid propertyDataId, object propertyData) |
Clear | callMethod("Clear",[]) | void Clear() |
Clip | Clip(p1) | void Clip(IEnumerable<Point> lassoPoints)void Clip(Rect bounds) |
Clone | callMethod("Clone",[]) | StrokeCollection Clone() |
Contains | callMethod("Contains",[p1]) | bool Contains(Stroke item) |
ContainsPropertyData | ContainsPropertyData(p1) | bool ContainsPropertyData(Guid propertyDataId) |
CopyTo | CopyTo(p1,p2) | void CopyTo(Stroke[] array, int index) |
Draw | Draw(p1) | void Draw(DrawingContext context) |
Erase | callMethod("Erase",[p1])callMethod("Erase",[p1,p2]) | void Erase(IEnumerable<Point> lassoPoints)void Erase(Rect bounds)void Erase(IEnumerable<Point> eraserPath, StylusShape eraserShape) |
GetBounds | callMethod("GetBounds",[]) | Rect GetBounds() |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator<Stroke> GetEnumerator() |
GetIncrementalLassoHitTester | callMethod("GetIncrementalLassoHitTester",[p1]) | IncrementalLassoHitTester GetIncrementalLassoHitTester(int percentageWithinLasso) |
GetIncrementalStrokeHitTester | callMethod("GetIncrementalStrokeHitTester",[p1]) | IncrementalStrokeHitTester GetIncrementalStrokeHitTester(StylusShape eraserShape) |
GetPropertyData | callMethod("GetPropertyData",[p1]) | object GetPropertyData(Guid propertyDataId) |
GetPropertyDataIds | callMethod("GetPropertyDataIds",[]) | Guid[] GetPropertyDataIds() |
HitTest | HitTest(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) |
IndexOf | callMethod("IndexOf",[p1]) | int IndexOf(Stroke stroke)int IndexOf(Stroke item) |
Insert | callMethod("Insert",[p1,p2]) | void Insert(int index, Stroke item) |
Remove | Remove(p1) | void Remove(StrokeCollection strokes)bool Remove(Stroke item) |
RemoveAt | callMethod("RemoveAt",[p1]) | void RemoveAt(int index) |
RemovePropertyData | RemovePropertyData(p1) | void RemovePropertyData(Guid propertyDataId) |
Replace | Replace(p1,p2) | void Replace(Stroke strokeToReplace, StrokeCollection strokesToReplaceWith)void Replace(StrokeCollection strokesToReplace, StrokeCollection strokesToReplaceWith) |
Save | callMethod("Save",[p1])callMethod("Save",[p1,p2]) | void Save(Stream stream, bool compress)void Save(Stream stream) |
Transform | Transform(p1,p2) | void Transform(Matrix transformMatrix, bool applyToStylusTip) |
Events
| Event | Handler type | In Ring |
|---|---|---|
StrokesChanged | StrokeCollectionChangedEventHandler | o.setStrokesChangedEvent(code) · o.clearStrokesChangedEvent() |
PropertyDataChanged | PropertyDataChangedEventHandler | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Added | StrokeCollection | read | o.Added |
Removed | StrokeCollection | read | o.Removed |
Members of the base class are inherited.
StrokeHitEventArgs class · extends EventArgs
System.Windows.Ink.StrokeHitEventArgs · assembly PresentationCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HitStroke | Stroke | read | o.HitStroke |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetPointEraseResults | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
NewStylusPoints | StylusPointCollection | read | o.NewStylusPoints |
PreviousStylusPoints | StylusPointCollection | read | o.PreviousStylusPoints |
Members of the base class are inherited.
StylusShape class abstract
System.Windows.Ink.StylusShape · assembly PresentationCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Width | double | read | o.Width |
Height | double | read | o.Height |
Rotation | double | read | o.Rotation |