Interface ICSSKeyframesRule

Interface ICSSKeyframesRule

Namespace: Aspose.Html.Dom.Css
Assembly: Aspose.HTML.dll (25.1.0)

CSSKeyframesRule 인터페이스는 단일 애니메이션에 대한 완전한 키프레임 집합을 나타냅니다.

[DOMObject]
[DOMName("CSSKeyframesRule")]
[ComVisible(true)]
public interface ICSSKeyframesRule : ICSSRule

Implements

ICSSRule

Properties

CSSRules

이 속성은 목록의 키프레임에 대한 접근을 제공합니다.

ICSSRuleList CSSRules { get; }

Property Value

ICSSRuleList

Name

이 속성은 ‘animation-name’ 속성에서 사용되는 키프레임의 이름입니다.

string Name { get; }

Property Value

string

Methods

AppendRule(string)

appendRule 메서드는 전달된 CSSKeyframeRule을 전달된 키에 따라 목록에 추가합니다.

void AppendRule(string rule)

Parameters

rule string

추가할 규칙이며, ‘@keyframes’ 규칙의 한 항목과 동일한 구문으로 표현됩니다.

DeleteRule(string)

deleteRule 메서드는 전달된 키에 해당하는 CSSKeyframeRule을 삭제합니다. 이 키에 해당하는 규칙이 존재하지 않으면 메서드는 아무 작업도 수행하지 않습니다.

void DeleteRule(string key)

Parameters

key string

삭제할 규칙을 설명하는 키입니다. 키는 0과 1 사이의 숫자로 해결되어야 하며, 그렇지 않으면 규칙은 무시됩니다.

FindRule(string)

findRule 메서드는 전달된 키와 일치하는 키를 가진 규칙을 반환합니다. 해당 규칙이 존재하지 않으면 null 값을 반환합니다.

ICSSKeyframeRule FindRule(string key)

Parameters

key string

찾을 규칙을 설명하는 키입니다. 키는 0과 1 사이의 숫자로 해결되어야 하며, 그렇지 않으면 규칙은 무시됩니다.

Returns

ICSSKeyframeRule

찾은 규칙

 한국어