Class SVGStyleElementBuilder
Името на пространството: Aspose.Svg.Builder
Асамблея: Aspose.SVG.dll (25.5.0)
Изграждащ клас за изграждане на елемент “стил” на SVG.Този клас улеснява създаването и конфигурирането на елемент SVG стил с правилата на CSS.
Inheritance
object
←
SVGElementBuilder
←
SVGStyleElementBuilder
Implements
ISVGElementBuilder
,
IAttributeSetter
,
ICoreAttributeSetter
,
IGlobalEventAttributeSetter
,
ICommonEventAttributeSetter
,
IDocumentElementEventAttributeSetter
наследници
SVGElementBuilder.Create(Document)
,
SVGElementBuilder.Build(Document)
,
SVGElementBuilder.Build(SVGStyleElement)
,
SVGElementBuilder.BuildElement(Document)
,
SVGElementBuilder.Attribute(string, string)
,
SVGElementBuilder.Configurations
,
object.GetType()
,
object.MemberwiseClone()
,
object.ToString()
,
object.Equals(object?)
,
object.Equals(object?, object?)
,
object.ReferenceEquals(object?, object?)
,
object.GetHashCode()
Методи за разширяване
SVGBuilderExtensions.AddBuilder<svgstyleelementbuilder, telementbuilder="">(SVGStyleElementBuilder, TElementBuilder)
,
SVGBuilderExtensions.Class(SVGStyleElementBuilder, params string[])
,
SVGBuilderExtensions.Id(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.Lang(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnCanPlay(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnCanPlayThrough(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnCancel(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnChange(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnClick(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnClose(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnCopy(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnCueChange(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnCut(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnDblClick(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnDrag(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnDragEnd(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnDragEnter(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnDragExit(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnDragLeave(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnDragOver(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnDragStart(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnDrop(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnDurationChange(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnEmptied(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnEnded(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnError(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnFocus(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnInput(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnInvalid(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnKeyDown(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnKeyPress(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnKeyUp(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnLoad(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnLoadStart(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnLoadedData(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnLoadedMetadata(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnMouseDown(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnMouseEnter(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnMouseLeave(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnMouseMove(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnMouseOut(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnMouseOver(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnMouseUp(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnMouseWheel(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnPaste(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnPause(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnPlay(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnPlaying(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnProgress(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnRateChange(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnReset(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnResize(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnScroll(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnSeeked(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnSeeking(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnSelect(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnShow(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnStalled(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnSubmit(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnSuspend(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnTimeUpdate(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnToggle(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnVolumeChange(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.OnWaiting(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.SetAttribute(SVGStyleElementBuilder, string, string)
,
SVGBuilderExtensions.Style(SVGStyleElementBuilder, Action)
,
SVGBuilderExtensions.Style(SVGStyleElementBuilder, string)
,
SVGBuilderExtensions.Tabindex(SVGStyleElementBuilder, int)
,
SVGBuilderExtensions.XmlSpace(SVGStyleElementBuilder, XmlSpace)
Constructors
Изграждане на елемент()
Methods
AddComment(Стрий)
Добавете коментар към съдържанието на стила.
Parameters
comment
string
Текстът на коментарите да се добави.
Returns
SVGStyleElementBuilder
Инстанция SVGStyleElementBuilder за верига.
AddRule(Стрийк, Стрийк)
Добавете правило CSS към елемента за стил.
Parameters
selector
string
CSS селектор за правилото.
rules
string
CSS правилата като стълб.
Returns
SVGStyleElementBuilder
Инстанция SVGStyleElementBuilder за верига.
AddRule(Стъпка, действие)
Добавете правило на CSS към елемента за стил, като използвате RuleBuilder.
Parameters
selector
string
CSS селектор за правилото.
configureRule
Action
<
RuleBuilder
>
Делегат за конфигуриране на правилото с помощта на RuleBuilder.
Returns
SVGStyleElementBuilder
Инстанция SVGStyleElementBuilder за верига.
Build(Document)
Изгражда елемента SVG стил с натрупаните правила на CSS и го добавя към посочения документ.
Parameters
document
Document
Документът, към който ще бъде добавен елемент за стил.
Returns
SVGStyleElement
Изграден е SVGStyleElement.
Create(Document)
Създава нов елемент SVG стил в дадения документ.
Parameters
document
Document
Документът, в който ще бъде създаден елемента за стил.
Returns
SVGStyleElement
Новият SVGStyleЕлемент.
Media(Стрий)
Създава “медиа” атрибут на елемента “стил” на SVG.Този атрибут определя медиите, за които са предназначени стиловете, което позволява на стилите да бъдат условно по типа на медията.
Parameters
mediaDescriptors
string
Стрий за описание на медиите (напр. „екран“, „принтер“).
Returns
SVGStyleElementBuilder
Инстанция SVGStyleElementBuilder за верига.
Title(Стрий)
Поставете атрибута “заглавие” на елемента SVG “стил”.Този атрибут предоставя съветник за елемента стил, който може да бъде полезен за достъпност и инструмент-тип текст.
Parameters
advisoryTitle
string
Консултативният заглавие на текста.
Returns
SVGStyleElementBuilder
Инстанция SVGStyleElementBuilder за верига.
Type(Стрий)
Създава “тип” атрибут на елемента “стил” на SVG.Този атрибут определя езика на стилния лист на съдържанието на елемента.
Parameters
contentType
string
Типът MIME на стилния език (напр. „текст/css“).
Returns
SVGStyleElementBuilder
Инстанция SVGStyleElementBuilder за верига.</svgstyleelementbuilder,>