Table of Contents

Class ScratchEventArgs

Namespace
Nova.Avalonia.UI.Controls
Assembly
Nova.Avalonia.UI.dll

Event arguments for scratch events (start, update, end).

public class ScratchEventArgs : RoutedEventArgs
Inheritance
RoutedEventArgs
ScratchEventArgs
Inherited Members
RoutedEventArgs.Handled
RoutedEventArgs.RoutedEvent
RoutedEventArgs.Route
RoutedEventArgs.Source

Constructors

ScratchEventArgs(RoutedEvent, Point, double)

Initializes a new instance of ScratchEventArgs.

public ScratchEventArgs(RoutedEvent routedEvent, Point position, double brushSize)

Parameters

routedEvent RoutedEvent
position Point
brushSize double

Properties

BrushSize

Gets the current brush size.

public double BrushSize { get; }

Property Value

double

Position

Gets the position in control coordinates.

public Point Position { get; }

Property Value

Point