Blazor

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AnnotationStyle

    Show / Hide Table of Contents

    Class AnnotationStyle

    Represents the annotation style for an object.

    Inheritance
    System.Object
    SfDiagramBase
    AnnotationStyle
    Inherited Members
    SfDiagramBase.UpdateCollection(IList, Boolean)
    SfDiagramBase.RandomString(Int32)
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class AnnotationStyle : SfDiagramBase

    Constructors

    AnnotationStyle()

    Represents the annotation style for an object.

    Declaration
    public AnnotationStyle()

    Properties

    Bold

    Specifies whether a font appears in bold or not. By default, it`s false.

    Declaration
    public bool Bold { get; set; }
    Property Value
    Type Description
    System.Boolean

    Color

    Specifies the font color of a text. By default, it`s black.

    Declaration
    public string Color { get; set; }
    Property Value
    Type Description
    System.String

    Fill

    Sets the fill color of a shape/path. By default, it`s transparent.

    Declaration
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    FontFamily

    Specifies the font type of a text. By default, it`s Arial.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    FontSize

    Specifies the font size of a text.

    Declaration
    public double FontSize { get; set; }
    Property Value
    Type Description
    System.Double

    Gradient

    Specifies the gradient of shape/path.

    Declaration
    public DiagramGradient Gradient { get; set; }
    Property Value
    Type Description
    DiagramGradient

    Italic

    Enables/disables the italic style of text.

    Declaration
    public bool Italic { get; set; }
    Property Value
    Type Description
    System.Boolean

    Opacity

    Sets the opacity of a shape/path. By default, it`s 1. It varies between 0 to 1.

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    StrokeColor

    Sets the stroke color of a shape/path.

    Declaration
    public string StrokeColor { get; set; }
    Property Value
    Type Description
    System.String

    StrokeDashArray

    Specifies the patterns of dashes and spaces to stroke the path/shape.

    Declaration
    public string StrokeDashArray { get; set; }
    Property Value
    Type Description
    System.String

    StrokeWidth

    Specifies the stroke width of the path/shape.

    Declaration
    public double StrokeWidth { get; set; }
    Property Value
    Type Description
    System.Double

    TextAlign

    Specifies how they should be aligned within its bounds.

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

    TextDecoration

    Specifies how the text should be decorated.

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

    TextOverflow

    Specifies how to handle the text when it exceeds the given size.

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

    TextWrapping

    Specifies how the text should be wrapped when the text size exceeds some specific bounds.

    Declaration
    public TextWrap TextWrapping { get; set; }
    Property Value
    Type Description
    TextWrap

    WhiteSpace

    Specifies how to white space and new line characters must be handled.

    Declaration
    public WhiteSpace WhiteSpace { get; set; }
    Property Value
    Type Description
    WhiteSpace
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved