Search Results for

    Show / Hide Table of Contents

    Class InkCanvas

    Note: InkCanvas control is not movable at runtime. This requires complex logic, with no customer scenario at this moment.

    Inheritance
    object
    DispatcherObject
    UIElement
    InkCanvas
    Inherited Members
    UIElement._horizontalAlignment
    UIElement._verticalAlignment
    UIElement.OnGenericEvent(GenericEventArgs)
    UIElement.OnTouchMove(TouchEventArgs)
    UIElement.OnTouchGestureStarted(TouchGestureEventArgs)
    UIElement.OnTouchGestureChanged(TouchGestureEventArgs)
    UIElement.OnTouchGestureEnded(TouchGestureEventArgs)
    UIElement.OnPreviewButtonDown(ButtonEventArgs)
    UIElement.OnButtonDown(ButtonEventArgs)
    UIElement.OnPreviewButtonUp(ButtonEventArgs)
    UIElement.OnButtonUp(ButtonEventArgs)
    UIElement.OnGotFocus(FocusChangedEventArgs)
    UIElement.OnLostFocus(FocusChangedEventArgs)
    UIElement.GetDesiredSize(out int, out int)
    UIElement.GetMargin(out int, out int, out int, out int)
    UIElement.SetMargin(int)
    UIElement.SetMargin(int, int, int, int)
    UIElement.GetLayoutOffset(out int, out int)
    UIElement.GetRenderSize(out int, out int)
    UIElement.OnChildrenChanged(UIElement, UIElement, int)
    UIElement.Measure(int, int)
    UIElement.Arrange(int, int, int, int)
    UIElement.ArrangeOverride(int, int)
    UIElement.UpdateLayout()
    UIElement.ChildElementFromPoint(int, int)
    UIElement.GetUnclippedSize(out int, out int)
    UIElement.ContainsPoint(int, int)
    UIElement.GetPointerTarget(int, int)
    UIElement.PointToScreen(ref int, ref int)
    UIElement.PointToClient(ref int, ref int)
    UIElement.InvalidateMeasure()
    UIElement.InvalidateArrange()
    UIElement.OnChildDesiredSizeChanged(UIElement)
    UIElement.RenderRecursive(DrawingContext)
    UIElement.InvalidateRect(int, int, int, int)
    UIElement.Invalidate()
    UIElement.RaiseEvent(RoutedEventArgs)
    UIElement.AddToEventRoute(EventRoute, RoutedEventArgs)
    UIElement.AddHandler(RoutedEvent, RoutedEventHandler, bool)
    UIElement.ActualWidth
    UIElement.ActualHeight
    UIElement.Height
    UIElement.Width
    UIElement.LogicalChildren
    UIElement.IsFocused
    UIElement.IsMeasureValid
    UIElement.IsArrangeValid
    UIElement.Parent
    UIElement.RootUIElement
    UIElement.HorizontalAlignment
    UIElement.VerticalAlignment
    UIElement.Visibility
    UIElement.IsVisible
    UIElement.IsEnabled
    UIElement.InstanceEventHandlersStore
    UIElement.TouchDown
    UIElement.TouchUp
    UIElement.TouchMove
    UIElement.TouchGestureStart
    UIElement.TouchGestureChanged
    UIElement.TouchGestureEnd
    UIElement.IsVisibleChanged
    UIElement.IsEnabledChanged
    DispatcherObject.Dispatcher
    DispatcherObject.CheckAccess()
    DispatcherObject.VerifyAccess()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: nanoFramework.Presentation.Controls
    Assembly: nanoFramework.Graphics.dll
    Syntax
    public class InkCanvas : UIElement

    Constructors

    InkCanvas(int, int, int, int, int)

    Declaration
    public InkCanvas(int left, int top, int width, int height, int borderWidth)
    Parameters
    Type Name Description
    int left
    int top
    int width
    int height
    int borderWidth

    InkCanvas(int, int, int, int)

    Declaration
    public InkCanvas(int left, int top, int width, int height)
    Parameters
    Type Name Description
    int left
    int top
    int width
    int height

    Fields

    _bitmap

    Declaration
    protected Bitmap _bitmap
    Field Value
    Type Description
    Bitmap

    _defaultDrawingAttributes

    Declaration
    protected DrawingAttributes _defaultDrawingAttributes
    Field Value
    Type Description
    DrawingAttributes

    Properties

    DefaultDrawingAttributes

    Declaration
    public DrawingAttributes DefaultDrawingAttributes { get; set; }
    Property Value
    Type Description
    DrawingAttributes

    Methods

    Clear()

    Declaration
    public void Clear()

    Finalize()

    Declaration
    protected override void Finalize()

    Init(int, int, int, int, int)

    Declaration
    protected virtual void Init(int left, int top, int width, int height, int borderWidth)
    Parameters
    Type Name Description
    int left
    int top
    int width
    int height
    int borderWidth

    MeasureOverride(int, int, out int, out int)

    Declaration
    protected override void MeasureOverride(int availableWidth, int availableHeight, out int desiredWidth, out int desiredHeight)
    Parameters
    Type Name Description
    int availableWidth
    int availableHeight
    int desiredWidth
    int desiredHeight
    Overrides
    UIElement.MeasureOverride(int, int, out int, out int)

    OnRender(DrawingContext)

    Declaration
    public override void OnRender(DrawingContext dc)
    Parameters
    Type Name Description
    DrawingContext dc
    Overrides
    UIElement.OnRender(DrawingContext)

    OnTouchDown(TouchEventArgs)

    Declaration
    protected override void OnTouchDown(TouchEventArgs e)
    Parameters
    Type Name Description
    TouchEventArgs e
    Overrides
    UIElement.OnTouchDown(TouchEventArgs)

    OnTouchUp(TouchEventArgs)

    Declaration
    protected override void OnTouchUp(TouchEventArgs e)
    Parameters
    Type Name Description
    TouchEventArgs e
    Overrides
    UIElement.OnTouchUp(TouchEventArgs)

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX