|
|
static readonly DependencyProperty | PixelHeightProperty |
| | Backing store for the PixelHeight property.
|
| |
|
static readonly DependencyProperty | PixelLocationProperty |
| | Backing store for the PixelLocation property.
|
| |
|
static readonly DependencyProperty | PixelWidthProperty |
| | Backing store for the PixelWidth property.
|
| |
|
static readonly DependencyProperty | ShapeProperty |
| | Backing store for the Shape property.
|
| |
|
static readonly DependencyProperty | DrawModeProperty |
| | Backing store of the DrawMode property.
|
| |
|
static readonly DependencyProperty | CanDrawProperty |
| | Backing store for the CanDraw property.
|
| |
|
static readonly DependencyProperty | ToolCursorProperty |
| | Backing store for the ToolCursor property.
|
| |
|
| override HitTestResult | HitTestCore (PointHitTestParameters hitTestParameters) |
| | This adorner does not take part in hit-testing.
|
| |
| override void | OnRender (DrawingContext drawingContext) |
| | Renders the brush tool.
|
| |
| | BitOverlayBase (ImageEditor editor) |
| | Registers the overlay to the parent editor.
|
| |
| Point | GetImagePosition (MouseEventArgs e) |
| | Gets the current mouse coordinates in image coordinates (no fractions).
|
| |
| | ImageEditorToolBase (ImageEditor editor) |
| | Registers the overlay to the parent editor.
|
| |
| override Visual | GetVisualChild (int index) |
| | Gets the visual child at the given index .
|
| |
|
|
int | PixelHeight [get, set] |
| | Gets/sets the height of this brush in image pixels.
|
| |
|
Point | PixelLocation [get] |
| | Gets the current location in image pixel the brush is over.
|
| |
|
int | PixelWidth [get, set] |
| | Gets/sets the height of this brush in image pixels.
|
| |
|
BitBrushShape | Shape [get, set] |
| | Gets/sets the shape of this brush.
|
| |
|
OverlayBitDrawMode | DrawMode [get, set] |
| | Gets/sets the overlay's draw mode.
|
| |
|
bool | CanDraw [get] |
| | Gets whether drawing is possible on the current image editor.
|
| |
|
Cursor | ToolCursor [get, set] |
| | Gets/sets the cursor the ImageEditor shows when this tool is selected.
|
| |
|
WinRect | ImageViewportRect [get] |
| | Gets the rect placement of the image based on the ParentEditor coordinates.
|
| |
|
ImageEditor | ParentEditor [get] |
| | Gets the parent editor control.
|
| |
|
override int | VisualChildrenCount [get] |
| | Gets the number of visual children.
|
| |
|
| static object | CoerceToolCursor (DependencyObject d, object baseValue) |
| | Helper to coerce the tool cursor in a way, that the default arrow is shown when drawing is not possible.
|
| |
|
readonly VisualCollection | Visuals |
| | Stores the visuals of this adorner.
|
| |
|
EventHandler< PropertyValueChangedEventArgs< Image > > | ParentImageChanged |
| | Event that is fired when the parent ImageEditor's Image is changed.
|
| |
|
EventHandler< PropertyValueChangedEventArgs< DisplayCanvas > > | ParentDisplayCanvasChanged |
| | Event that is fired when the parent ImageEditor's DisplayCanvas is changed.
|
| |
|
EventHandler< DisplayZoomEventArgs > | ParentActualZoomCenterChanged |
| | Event that is fired when the parent ImageEditor's actual zoom center is changed.
|
| |
|
EventHandler< DisplayZoomEventArgs > | ParentActualZoomFactorChanged |
| | Event that is fired when the parent ImageEditor's actual zoom factor is changed.
|
| |
Drawing brush for draw/erase overlay bits.