Méthode | Description | |
---|---|---|
BrushSizeSelector ( IGraphicsDisplay graphicsDisplay, BrushSizeSelectorDefinition brushSizeDefinition ) : System |
Initializes a new instance of the Paint.BrushSizeSelector class.
|
|
Draw ( bool refreshDisplay ) : void |
Draw this tool on to the image
|
Méthode | Description | |
---|---|---|
HandleTouch ( ITouchPoint touchPosition ) : void |
Handle the user interaction for a particular touch/gesture type and position
|
|
OnBrushSizeChanged ( |
Raises the brush size changed event.
|
Méthode | Description | |
---|---|---|
DrawBrush ( ) : void |
Draws the brush size representation in the current color
|
|
brushSizeGauge_MarkerChanged ( object sender, |
Fires when the gauge has been altered, indicating the brush size needs to change
|
public BrushSizeSelector ( IGraphicsDisplay graphicsDisplay, BrushSizeSelectorDefinition brushSizeDefinition ) : System | ||
graphicsDisplay | IGraphicsDisplay | /// Graphics display. /// |
brushSizeDefinition | BrushSizeSelectorDefinition | /// Brush size definition - layout of the control. /// |
Résultat | System |
public Draw ( bool refreshDisplay ) : void | ||
refreshDisplay | bool | /// True = we should redraw the entire control /// False = just draw any updates /// |
Résultat | void |
protected HandleTouch ( ITouchPoint touchPosition ) : void | ||
touchPosition | ITouchPoint | /// Touch position and type of gesture /// |
Résultat | void |
protected OnBrushSizeChanged ( |
||
e | /// Any relevant EventArgs (should be EventArgs.Empty) /// | |
Résultat | void |