Class SVGStopElementBuilder

Class SVGStopElementBuilder

Namn på plats: Aspose.Svg.Builder Församling: Aspose.SVG.dll (25.5.0)

Byggklassen för att bygga ett SVG ‘stop’ element.”Stopp” används inom en gradient definition (oavsett om det är linjär eller radial) för att definiera färgstopp.Denna klass ger metoder för att ställa in olika egenskaper specifika för “stop” elementet, såsom offset och färg.

[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

Arvsmedlemmar

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()

Förlängningsmetoder

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

SVGStopElementBuilder()

public SVGStopElementBuilder()

Methods

AddScript(Åtgärd)

Lägg till en skriptkonfiguration till SVG ‘stop’-elementet.

public SVGStopElementBuilder AddScript(Action<svgscriptelementbuilder> configure)

Parameters

configure Action ochlt; SVGScriptElementBuilder >

En delegat för att konfigurera SVGScriptElementBuilder.

Returns

SVGStopElementBuilder

Den aktuella instansen av SVGStopElementBuilder för metod kedjning.

AddStyle(Åtgärd)

Lägg till en stilkonfiguration till SVG ‘stop’-elementet.

public SVGStopElementBuilder AddStyle(Action<svgstyleelementbuilder> configure)

Parameters

configure Action ochlt; SVGStyleElementBuilder >

En delegat för att konfigurera SVGStyleElementBuilder.

Returns

SVGStopElementBuilder

Den aktuella instansen av SVGStopElementBuilder för metod kedjning.

Create(Document)

Skapar en instans av SVGStopElement i det tillhandahållna SV G-dokumentet.

protected override SVGStopElement Create(Document document)

Parameters

document Document

SVG-dokumentet där elementet skapas.

Returns

SVGStopElement

Ett exempel på SVGStopElement.

Offset(Dubbel, StopUnitType)

Sätt “offset” attribut av SVG “stop” elementet, som anger positionen för färgstopp inom gradienten.

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

Parameters

value double

Offsetvärdet av färgen stoppar (0 till 1 för siffror, 0% till 100% för procentsatser).

unitType StopUnitType

Enhetstypen av offsetvärdet (numret eller andelen).

Returns

SVGStopElementBuilder

Den aktuella instansen av SVGStopElementBuilder för metod kedjning.</transformbuilder,></svgstopelementbuilder,>

 Svenska