Table of Contents

Class OdfChartSurfaceStyle

Namespace
OdfKit.Chart
Assembly
OdfKit.dll

Describes a practical chart wall or floor surface style. 描述實務圖表牆面或地板表面樣式。

public sealed record OdfChartSurfaceStyle : IEquatable<OdfChartSurfaceStyle>
Inheritance
OdfChartSurfaceStyle
Implements
Inherited Members

Constructors

OdfChartSurfaceStyle(string, string?, string?, string?, string?, string?)

Describes a practical chart wall or floor surface style. 描述實務圖表牆面或地板表面樣式。

public OdfChartSurfaceStyle(string StyleName, string? FillColor = null, string? StrokeColor = null, string? StrokeWidth = null, string? Fill = "solid", string? Stroke = "solid")

Parameters

StyleName string

The style name to create and apply. / 要建立並套用的樣式名稱。

FillColor string

The optional fill color. / 選用的填滿色。

StrokeColor string

The optional stroke color. / 選用的筆觸色。

StrokeWidth string

The optional stroke width. / 選用的筆觸寬度。

Fill string

The optional fill mode. / 選用的填滿模式。

Stroke string

The optional stroke mode. / 選用的筆觸模式。

Properties

Fill

The optional fill mode. / 選用的填滿模式。

public string? Fill { get; init; }

Property Value

string

FillColor

The optional fill color. / 選用的填滿色。

public string? FillColor { get; init; }

Property Value

string

Stroke

The optional stroke mode. / 選用的筆觸模式。

public string? Stroke { get; init; }

Property Value

string

StrokeColor

The optional stroke color. / 選用的筆觸色。

public string? StrokeColor { get; init; }

Property Value

string

StrokeWidth

The optional stroke width. / 選用的筆觸寬度。

public string? StrokeWidth { get; init; }

Property Value

string

StyleName

The style name to create and apply. / 要建立並套用的樣式名稱。

public string StyleName { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string?, out string?, out string?, out string?, out string?)

public void Deconstruct(out string StyleName, out string? FillColor, out string? StrokeColor, out string? StrokeWidth, out string? Fill, out string? Stroke)

Parameters

StyleName string
FillColor string
StrokeColor string
StrokeWidth string
Fill string
Stroke string

Equals(OdfChartSurfaceStyle?)

public bool Equals(OdfChartSurfaceStyle? other)

Parameters

other OdfChartSurfaceStyle

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(OdfChartSurfaceStyle?, OdfChartSurfaceStyle?)

public static bool operator ==(OdfChartSurfaceStyle? left, OdfChartSurfaceStyle? right)

Parameters

left OdfChartSurfaceStyle
right OdfChartSurfaceStyle

Returns

bool

operator !=(OdfChartSurfaceStyle?, OdfChartSurfaceStyle?)

public static bool operator !=(OdfChartSurfaceStyle? left, OdfChartSurfaceStyle? right)

Parameters

left OdfChartSurfaceStyle
right OdfChartSurfaceStyle

Returns

bool