menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Pen - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Pen

    Describes how a shape is outlined.

    Inheritance
    System.Object
    Pen
    Namespace: Syncfusion.SfDiagram.Android
    Assembly: Syncfusion.SfDiagram.Android.dll
    Syntax
    public sealed class Pen : Object

    Constructors

    Pen()

    Declaration
    public Pen()

    Properties

    Brush

    Gets or sets the fill the outline produced by this Pen.

    Declaration
    public Brush Brush { get; set; }
    Property Value
    Type Description
    Brush

    The color of the fill.

    StrokeBrush

    Gets or sets the color of the stroke.

    Declaration
    public Brush StrokeBrush { get; set; }
    Property Value
    Type Description
    Brush

    The color of the stroke.

    StrokeWidth

    Gets or sets the width of the stroke.

    Declaration
    public float StrokeWidth { get; set; }
    Property Value
    Type Description
    System.Single

    The width of the stroke.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved