Table of Contents

Class OdfPresentationShapeBuilder

Namespace
OdfKit.Presentation
Assembly
OdfKit.dll

Provides a fluent configuration API for presentation shapes. 提供簡報圖形的 Fluent 設定 API。

public sealed class OdfPresentationShapeBuilder
Inheritance
OdfPresentationShapeBuilder
Inherited Members

Methods

Fill(string)

Sets the fill color. 設定填滿色彩。

public OdfPresentationShapeBuilder Fill(string color)

Parameters

color string

The color value. / 色彩值。

Returns

OdfPresentationShapeBuilder

The current builder instance. / 目前 builder 執行個體。

Stroke(string)

Sets the stroke color. 設定線條色彩。

public OdfPresentationShapeBuilder Stroke(string color)

Parameters

color string

The color value. / 色彩值。

Returns

OdfPresentationShapeBuilder

The current builder instance. / 目前 builder 執行個體。

WithId(string)

Sets the shape identifier. 設定圖形識別碼。

public OdfPresentationShapeBuilder WithId(string id)

Parameters

id string

The shape identifier. / 圖形識別碼。

Returns

OdfPresentationShapeBuilder

The current builder instance. / 目前 builder 執行個體。