[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.SVGStyleBuilder

SVGStyleBuilder Class

Defines a builder to configurate SVGStyle.

Inheritance
HideObjectMembers
SVGStyleBuilder
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public class SVGStyleBuilder : BaseBuilder<SVGStyle, SVGStyleBuilder>

Constructors

Name Description
SVGStyleBuilder(SVGStyle)

Creates one SVGStyleBuilder instance to configurate obj.

Methods

Name Description
ArrowEnd(string)

Configurates ArrowEnd. Sets the arrowhead on the end of the path. The format for string is <type>[-<width>[-<length>]]. Possible types: classic, block, open, oval, diamond, none, width: wide, narrow, medium, length: long, short, medium.

ClipRect(string)

Configurates ClipRect. Sets the clip area. The format for the text is comma or space separated values: x, y, width and height

Cursor(string)

Configurates Cursor. CSS type of the cursor

Cx(double?)

Configurates Cx. the x-axis coordinate of the center of the circle, or ellipse

Cy(double?)

Configurates Cy. the y-axis coordinate of the center of the circle, or ellipse

Fill(string)

Configurates Fill. A value that indicates the filled color of the chart style.

FillOpacity(double?)

Configurates FillOpacity. A value that indicates the fill opacity of the SVG element.

Font(string)

Configurates Font. A value that indicates the font of the chart style.

FontFamily(string)

Configurates FontFamily. A value that indicates the font family of the SVG element.

FontSize(float?)

Configurates FontSize. A value that indicates the font size of the SVG element.

FontWeight(string)

Configurates FontWeight. A value that indicates the font weight of the SVG element.

Height(int?)

Configurates Height. A value that indicates the height of the SVG element.

Href(string)

Configurates Href. A value to indicate the URL, if specified element behaves as hyperlink

Opacity(double?)

Configurates Opacity. A value to indicate the Opacity.

Path(string)

Configurates Path. SVG path string format

R(string)

Configurates R. Radius of the circle, ellipse or rounded corner on the rect

Rx(double?)

Configurates Rx. Horisontal radius of the ellipse

Ry(double?)

Configurates Ry. Vertical radius of the ellipse

Src(string)

Configurates Src. Image URL, only works for Element.image element

Stroke(string)

Configurates Stroke. A value that indicates the stroke color.

StrokeDasharray(string)

Configurates StrokeDasharray. A value that indicates the stroke dasharry, possible values: ["", "-", ".", "-.", "-..", ". ", "- ", "--", "- .", "--.", "--.."]

StrokeLinecap(string)

Configurates StrokeLinecap. A value that indicates the stroke line cap, possible values: ["butt", "square", "round"]

StrokeLinejoin(string)

Configurates StrokeLinejoin. A value that indicates the stroke line join method, possible values: ["bevel", "round", "miter"]

StrokeMiterlimit(double?)

Configurates StrokeMiterlimit. A value that indicates the stroke miter limit.

StrokeOpacity(double?)

Configurates StrokeOpacity. A value that indicates the stroke opacity.

StrokeWidth(int?)

Configurates StrokeWidth. A value that indicates the stroke width.

Target(string)

Configurates Target. Used with href

Text(string)

Configurates Text. Contents of the text element. Use \n for multiline text

TextAnchor(string)

Configurates TextAnchor. Possible values: ["start", "middle", "end"], default is "middle"

Title(string)

Configurates Title. A text value for creating a tooltip.

Transform(string)

Configurates Transform. A string value for SVG element to make a transform action.

Width(double?)

Configurates Width. A value that indicates the width of the chart style.

X(double?)

Configurates X. A value that indicates the x point of the chart style.

Y(double?)

Configurates Y. A value that indicates the y point of the chart style.