Table of Contents

Class OdfAnimationNode

Namespace
OdfKit.Presentation
Assembly
OdfKit.dll

Represents an ODF animation node. 表示 ODF 動畫節點的類別。

public class OdfAnimationNode
Inheritance
OdfAnimationNode
Inherited Members

Constructors

OdfAnimationNode(OdfNode)

Represents an ODF animation node. 表示 ODF 動畫節點的類別。

public OdfAnimationNode(OdfNode node)

Parameters

node OdfNode

The underlying OdfKit.DOM.OdfNode instance. / 底層的 OdfKit.DOM.OdfNode 執行個體。

Properties

Begin

Gets or sets the animation start time or trigger condition. 取得或設定動畫的開始時間或觸發條件。

public string? Begin { get; set; }

Property Value

string

Children

Gets the read-only list of child animation nodes. 取得子動畫節點的唯讀清單。

public IReadOnlyList<OdfAnimationNode> Children { get; }

Property Value

IReadOnlyList<OdfAnimationNode>

Dur

Gets or sets the animation duration. 取得或設定動畫的持續時間。

public string? Dur { get; set; }

Property Value

string

Node

Gets the underlying ODF node. 取得底層的 ODF 節點。

public OdfNode Node { get; }

Property Value

OdfNode

TargetElement

Gets or sets the animation target element identifier. 取得或設定動畫的目標元素識別碼。

public string? TargetElement { get; set; }

Property Value

string

Type

Gets the animation node type. 取得動畫節點的型態。

public OdfAnimationNodeType Type { get; }

Property Value

OdfAnimationNodeType

Methods

AddEffect(OdfAnimationType, string, OdfLength, OdfLength)

Adds an animation effect. 新增一個動畫效果。

public OdfAnimationNode AddEffect(OdfAnimationType effectType, string targetElementId, OdfLength duration, OdfLength delay)

Parameters

effectType OdfAnimationType

The animation effect type. / 動畫效果類型。

targetElementId string

The target element identifier. / 目標元素識別碼。

duration OdfLength

The duration. / 持續時間。

delay OdfLength

The delay. / 延遲時間。

Returns

OdfAnimationNode

The added animation effect node. / 新增的動畫效果節點。

AddParallel()

Short overload of AddParallel that uses default values for all optional parameters and forwards to the full overload. 便利多載:AddParallel 的所有可選參數使用預設值並轉呼叫最長多載。

public OdfAnimationNode AddParallel()

Returns

OdfAnimationNode

AddParallel(string?)

Adds a parallel animation sequence. 新增一個並行動畫序列。

public OdfAnimationNode AddParallel(string? begin)

Parameters

begin string

The start-time attribute value. / 開始時間的屬性值。

Returns

OdfAnimationNode

The added parallel animation sequence node. / 新增的並行動畫序列節點。

AddSequence()

Short overload of AddSequence that uses default values for all optional parameters and forwards to the full overload. 便利多載:AddSequence 的所有可選參數使用預設值並轉呼叫最長多載。

public OdfAnimationNode AddSequence()

Returns

OdfAnimationNode

AddSequence(string?)

Adds a sequential animation sequence. 新增一個順序動畫序列。

public OdfAnimationNode AddSequence(string? begin)

Parameters

begin string

The start-time attribute value. / 開始時間的屬性值。

Returns

OdfAnimationNode

The added sequential animation sequence node. / 新增的順序動畫序列節點。