Class SVGStopElementBuilder

Class SVGStopElementBuilder

Името на пространството: Aspose.Svg.Builder Асамблея: Aspose.SVG.dll (25.5.0)

Строител клас за изграждане на SVG “стоп” елемент.Елементът “Stop” се използва в градиентната дефиниция (или линейна или радиална) за определяне на спирачките на цвета.Този клас предлага методи за определяне на различни атрибути, специфични за елемента “стоп”, като например опсета и цвета.

[ComVisible(true)]
public class SVGStopElementBuilder : SVGElementBuilder<svgstopelement>, ISVGElementBuilder, IAttributeSetter, IBaseAnimationElementBuilder, ICoreAttributeSetter, IPresentationAttributeSetter, ITransformAttributeSetter, IGlobalEventAttributeSetter, ICommonEventAttributeSetter, IDocumentElementEventAttributeSetter

Inheritance

object SVGElementBuilder SVGStopElementBuilder

Implements

ISVGElementBuilder , IAttributeSetter , IBaseAnimationElementBuilder , ICoreAttributeSetter , IPresentationAttributeSetter , ITransformAttributeSetter , IGlobalEventAttributeSetter , ICommonEventAttributeSetter , IDocumentElementEventAttributeSetter

наследници

SVGElementBuilder.Create(Document) , SVGElementBuilder.Build(Document) , SVGElementBuilder.Build(SVGStopElement) , 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.AddAnimate(SVGStopElementBuilder, Action) , SVGBuilderExtensions.AddBuilder<svgstopelementbuilder, telementbuilder="">(SVGStopElementBuilder, TElementBuilder) , SVGBuilderExtensions.AddSet(SVGStopElementBuilder, Action) , SVGBuilderExtensions.AlignmentBaseline(SVGStopElementBuilder, AlignmentBaseline) , SVGBuilderExtensions.BaselineShift(SVGStopElementBuilder, BaseLineShift) , SVGBuilderExtensions.BaselineShift(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.Class(SVGStopElementBuilder, params string[]) , SVGBuilderExtensions.ClipPath(SVGStopElementBuilder, Action) , SVGBuilderExtensions.ClipRule(SVGStopElementBuilder, ClipRule) , SVGBuilderExtensions.Color(SVGStopElementBuilder, Action) , SVGBuilderExtensions.Color(SVGStopElementBuilder, Color) , SVGBuilderExtensions.ColorInterpolation(SVGStopElementBuilder, ColorInterpolation) , SVGBuilderExtensions.ColorInterpolationFilters(SVGStopElementBuilder, ColorInterpolation) , SVGBuilderExtensions.ColorProfile(SVGStopElementBuilder, string) , SVGBuilderExtensions.ColorRendering(SVGStopElementBuilder, ColorRendering) , SVGBuilderExtensions.Cursor(SVGStopElementBuilder, Cursor) , SVGBuilderExtensions.Direction(SVGStopElementBuilder, TextDirection) , SVGBuilderExtensions.Display(SVGStopElementBuilder, DisplayType) , SVGBuilderExtensions.DominantBaseline(SVGStopElementBuilder, DominantBaseline) , SVGBuilderExtensions.Fill(SVGStopElementBuilder, Action) , SVGBuilderExtensions.Fill(SVGStopElementBuilder, Color) , SVGBuilderExtensions.Fill(SVGStopElementBuilder, Paint) , SVGBuilderExtensions.FillOpacity(SVGStopElementBuilder, double) , SVGBuilderExtensions.FillRule(SVGStopElementBuilder, FillRule) , SVGBuilderExtensions.Filter(SVGStopElementBuilder, Action) , SVGBuilderExtensions.FloodColor(SVGStopElementBuilder, Color) , SVGBuilderExtensions.FloodColor(SVGStopElementBuilder, Action) , SVGBuilderExtensions.FloodOpacity(SVGStopElementBuilder, double) , SVGBuilderExtensions.FontFamily(SVGStopElementBuilder, string) , SVGBuilderExtensions.FontKerning(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.FontKerning(SVGStopElementBuilder, Kerning) , SVGBuilderExtensions.FontSize(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.FontSize(SVGStopElementBuilder, FontSize) , SVGBuilderExtensions.FontSizeAdjust(SVGStopElementBuilder, double) , SVGBuilderExtensions.FontSizeAdjust(SVGStopElementBuilder,   ) , SVGBuilderExtensions.FontStretch(SVGStopElementBuilder, FontStretch) , SVGBuilderExtensions.FontStyle(SVGStopElementBuilder, FontStyle) , SVGBuilderExtensions.FontVariant(SVGStopElementBuilder, string) , SVGBuilderExtensions.FontWeight(SVGStopElementBuilder, FontWeight) , SVGBuilderExtensions.GlyphOrientationVertical(SVGStopElementBuilder, TextOrientation) , SVGBuilderExtensions.Id(SVGStopElementBuilder, string) , SVGBuilderExtensions.ImageRendering(SVGStopElementBuilder, ImageRendering) , SVGBuilderExtensions.Lang(SVGStopElementBuilder, string) , SVGBuilderExtensions.LetterSpacing(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.LetterSpacing(SVGStopElementBuilder, Spacing) , SVGBuilderExtensions.LightingColor(SVGStopElementBuilder, Color) , SVGBuilderExtensions.LightingColor(SVGStopElementBuilder, Action) , SVGBuilderExtensions.MarkerEnd(SVGStopElementBuilder, string) , SVGBuilderExtensions.MarkerEnd(SVGStopElementBuilder, MarkerPos) , SVGBuilderExtensions.MarkerMid(SVGStopElementBuilder, string) , SVGBuilderExtensions.MarkerMid(SVGStopElementBuilder, MarkerPos) , SVGBuilderExtensions.MarkerStart(SVGStopElementBuilder, string) , SVGBuilderExtensions.MarkerStart(SVGStopElementBuilder, MarkerPos) , SVGBuilderExtensions.Mask(SVGStopElementBuilder, Action) , SVGBuilderExtensions.OnCanPlay(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnCanPlayThrough(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnCancel(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnChange(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnClick(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnClose(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnCopy(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnCueChange(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnCut(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDblClick(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDrag(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDragEnd(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDragEnter(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDragExit(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDragLeave(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDragOver(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDragStart(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDrop(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDurationChange(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnEmptied(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnEnded(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnError(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnFocus(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnInput(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnInvalid(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnKeyDown(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnKeyPress(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnKeyUp(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnLoad(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnLoadStart(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnLoadedData(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnLoadedMetadata(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseDown(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseEnter(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseLeave(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseMove(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseOut(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseOver(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseUp(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseWheel(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnPaste(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnPause(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnPlay(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnPlaying(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnProgress(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnRateChange(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnReset(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnResize(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnScroll(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnSeeked(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnSeeking(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnSelect(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnShow(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnStalled(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnSubmit(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnSuspend(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnTimeUpdate(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnToggle(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnVolumeChange(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnWaiting(SVGStopElementBuilder, string) , SVGBuilderExtensions.Opacity(SVGStopElementBuilder, double) , SVGBuilderExtensions.Overflow(SVGStopElementBuilder, Overflow) , SVGBuilderExtensions.PaintOrder(SVGStopElementBuilder, PaintOrder) , SVGBuilderExtensions.PointerEvents(SVGStopElementBuilder, PointerEvents) , SVGBuilderExtensions.SetAttribute(SVGStopElementBuilder, string, string) , SVGBuilderExtensions.ShapeRendering(SVGStopElementBuilder, ShapeRendering) , SVGBuilderExtensions.StopColor(SVGStopElementBuilder, Color) , SVGBuilderExtensions.StopColor(SVGStopElementBuilder, Action) , SVGBuilderExtensions.StopOpacity(SVGStopElementBuilder, double) , SVGBuilderExtensions.Stroke(SVGStopElementBuilder, Action) , SVGBuilderExtensions.Stroke(SVGStopElementBuilder, Color) , SVGBuilderExtensions.Stroke(SVGStopElementBuilder, Paint) , SVGBuilderExtensions.StrokeDashArray(SVGStopElementBuilder, params double[]) , SVGBuilderExtensions.StrokeDashArray(SVGStopElementBuilder, Dash) , SVGBuilderExtensions.StrokeDashoffset(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.StrokeLineCap(SVGStopElementBuilder, StrokeLineCap) , SVGBuilderExtensions.StrokeLineJoin(SVGStopElementBuilder, StrokeLineJoin) , SVGBuilderExtensions.StrokeMiterlimit(SVGStopElementBuilder, double) , SVGBuilderExtensions.StrokeOpacity(SVGStopElementBuilder, double) , SVGBuilderExtensions.StrokeWidth(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.Style(SVGStopElementBuilder, Action) , SVGBuilderExtensions.Style(SVGStopElementBuilder, string) , SVGBuilderExtensions.Tabindex(SVGStopElementBuilder, int) , SVGBuilderExtensions.TextAnchor(SVGStopElementBuilder, TextAnchor) , SVGBuilderExtensions.TextDecoration(SVGStopElementBuilder, bool, bool, bool, bool) , SVGBuilderExtensions.TextOverflow(SVGStopElementBuilder, TextOverflow) , SVGBuilderExtensions.TextRendering(SVGStopElementBuilder, TextRendering) , SVGBuilderExtensions.Transform(SVGStopElementBuilder, Func<transformbuilder, transformbuilder="">) , SVGBuilderExtensions.UnicodeBidi(SVGStopElementBuilder, UnicodeBidi) , SVGBuilderExtensions.Visibility(SVGStopElementBuilder, Visibility) , SVGBuilderExtensions.WhiteSspace(SVGStopElementBuilder, WhiteSpace) , SVGBuilderExtensions.WordSpacing(SVGStopElementBuilder, Spacing) , SVGBuilderExtensions.WordSpacing(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.WritingMode(SVGStopElementBuilder, WritingMode) , SVGBuilderExtensions.XmlSpace(SVGStopElementBuilder, XmlSpace)

Constructors

Създател на STOPElementBuilder()

public SVGStopElementBuilder()

Methods

AddScript(Действие)

Добавете конфигурация на скрипт към елемента “Stop” на SVG.

public SVGStopElementBuilder AddScript(Action<svgscriptelementbuilder> configure)

Parameters

configure Action < SVGScriptElementBuilder >

Делегат за конфигуриране на SVGScriptElementBuilder.

Returns

SVGStopElementBuilder

Текущата инстанция на SVGStopElementBuilder за метода на веригата.

AddStyle(Изграждане на елементите>)

Добавя конфигурация за стил към елемента “Stop” на SVG.

public SVGStopElementBuilder AddStyle(Action<svgstyleelementbuilder> configure)

Parameters

configure Action < SVGStyleElementBuilder >

Делегат за конфигуриране на SVGStyleElementBuilder.

Returns

SVGStopElementBuilder

Текущата инстанция на SVGStopElementBuilder за метода на веригата.

Create(Document)

Създава инстанция на SVGStopElement в предоставения контекст на документа SVD.

protected override SVGStopElement Create(Document document)

Parameters

document Document

SVG документ, в който елементът ще бъде създаден.

Returns

SVGStopElement

Пример на SVGStopElement.

Offset(Двойна, StopUnitType)

Поставете атрибута “офсет” на елемента SVG “стоп”, определяйки позицията на спирането на цвета в градиента.

public SVGStopElementBuilder Offset(double value, StopUnitType unitType = StopUnitType.Number)

Parameters

value double

Отстъпната стойност на цвета спира (0 до 1 за числа, 0% до 100% за проценти).

unitType StopUnitType

Типът на единица на стойността на отстъпката (номер или процент).

Returns

SVGStopElementBuilder

Текущата инстанция на SVGStopElementBuilder за метода на веригата.</transformbuilder,></svgstopelementbuilder,>

 Български