Search Results for

    Show / Hide Table of Contents

    Class Polygon

    Represents a polygon shape.

    Inheritance
    object
    DispatcherObject
    UIElement
    Shape
    Polygon
    Inherited Members
    Shape.Fill
    Shape.Stroke
    UIElement._horizontalAlignment
    UIElement._verticalAlignment
    UIElement.OnGenericEvent(GenericEventArgs)
    UIElement.OnTouchDown(TouchEventArgs)
    UIElement.OnTouchUp(TouchEventArgs)
    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.MeasureOverride(int, int, out int, out 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.Shapes
    Assembly: nanoFramework.Graphics.dll
    Syntax
    public class Polygon : Shape

    Constructors

    Polygon()

    Initializes a new instance of the Polygon class.

    Declaration
    public Polygon()

    Polygon(int[])

    Initializes a new instance of the Polygon class with the specified points.

    Declaration
    public Polygon(int[] pts)
    Parameters
    Type Name Description
    int[] pts

    The points of the polygon.

    Properties

    Points

    Gets or sets the points of the polygon.

    Declaration
    public int[] Points { get; set; }
    Property Value
    Type Description
    int[]

    Methods

    OnRender(DrawingContext)

    Renders the polygon on the specified drawing context.

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

    The drawing context.

    Overrides
    UIElement.OnRender(DrawingContext)

    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