Class SVGStopElementBuilder
Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.12.0)
Builder class for constructing an SVG ‘stop’ element. The ‘stop’ element is used within a gradient definition (either linear or radial) to define the color stops. This class provides methods to set various attributes specific to the ‘stop’ element, such as the offset and color.
[ComVisible(true)]
public class SVGStopElementBuilder : SVGElementBuilder<SVGStopElement>, ISVGElementBuilder, IAttributeSetter, IBaseAnimationElementBuilder, ICoreAttributeSetter, IPresentationAttributeSetter, ITransformAttributeSetter, IGlobalEventAttributeSetter, ICommonEventAttributeSetter, IDocumentElementEventAttributeSetterInheritance
object ← SVGElementBuilder<SVGStopElement> ← SVGStopElementBuilder
Implements
ISVGElementBuilder , IAttributeSetter , IBaseAnimationElementBuilder , ICoreAttributeSetter , IPresentationAttributeSetter , ITransformAttributeSetter , IGlobalEventAttributeSetter , ICommonEventAttributeSetter , IDocumentElementEventAttributeSetter
Inherited Members
SVGElementBuilder<SVGStopElement>.Create(Document) , SVGElementBuilder<SVGStopElement>.Build(Document) , SVGElementBuilder<SVGStopElement>.Build(SVGStopElement) , SVGElementBuilder<SVGStopElement>.BuildElement(Document) , SVGElementBuilder<SVGStopElement>.Attribute(string, string) , SVGElementBuilder<SVGStopElement>.Configurations , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Extension Methods
SVGBuilderExtensions.AddAnimate<SVGStopElementBuilder>(SVGStopElementBuilder, Action<SVGAnimateElementBuilder>) , SVGBuilderExtensions.AddBuilder<SVGStopElementBuilder, TElementBuilder>(SVGStopElementBuilder, TElementBuilder) , SVGBuilderExtensions.AddSet<SVGStopElementBuilder>(SVGStopElementBuilder, Action<SVGSetElementBuilder>) , SVGBuilderExtensions.AlignmentBaseline<SVGStopElementBuilder>(SVGStopElementBuilder, AlignmentBaseline) , SVGBuilderExtensions.BaselineShift<SVGStopElementBuilder>(SVGStopElementBuilder, BaseLineShift) , SVGBuilderExtensions.BaselineShift<SVGStopElementBuilder>(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.Class<SVGStopElementBuilder>(SVGStopElementBuilder, params string[]) , SVGBuilderExtensions.ClipPath<SVGStopElementBuilder>(SVGStopElementBuilder, Action<ClipPathBuilder>) , SVGBuilderExtensions.ClipRule<SVGStopElementBuilder>(SVGStopElementBuilder, ClipRule) , SVGBuilderExtensions.Color<SVGStopElementBuilder>(SVGStopElementBuilder, Action<ColorBuilder>) , SVGBuilderExtensions.Color<SVGStopElementBuilder>(SVGStopElementBuilder, Color) , SVGBuilderExtensions.ColorInterpolation<SVGStopElementBuilder>(SVGStopElementBuilder, ColorInterpolation) , SVGBuilderExtensions.ColorInterpolationFilters<SVGStopElementBuilder>(SVGStopElementBuilder, ColorInterpolation) , SVGBuilderExtensions.ColorProfile<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.ColorRendering<SVGStopElementBuilder>(SVGStopElementBuilder, ColorRendering) , SVGBuilderExtensions.Cursor<SVGStopElementBuilder>(SVGStopElementBuilder, Cursor) , SVGBuilderExtensions.Direction<SVGStopElementBuilder>(SVGStopElementBuilder, TextDirection) , SVGBuilderExtensions.Display<SVGStopElementBuilder>(SVGStopElementBuilder, DisplayType) , SVGBuilderExtensions.DominantBaseline<SVGStopElementBuilder>(SVGStopElementBuilder, DominantBaseline) , SVGBuilderExtensions.Fill<SVGStopElementBuilder>(SVGStopElementBuilder, Action<PaintBuilder>) , SVGBuilderExtensions.Fill<SVGStopElementBuilder>(SVGStopElementBuilder, Color) , SVGBuilderExtensions.Fill<SVGStopElementBuilder>(SVGStopElementBuilder, Paint) , SVGBuilderExtensions.FillOpacity<SVGStopElementBuilder>(SVGStopElementBuilder, double) , SVGBuilderExtensions.FillRule<SVGStopElementBuilder>(SVGStopElementBuilder, FillRule) , SVGBuilderExtensions.Filter<SVGStopElementBuilder>(SVGStopElementBuilder, Action<FilterValueListBuilder>) , SVGBuilderExtensions.FloodColor<SVGStopElementBuilder>(SVGStopElementBuilder, Color) , SVGBuilderExtensions.FloodColor<SVGStopElementBuilder>(SVGStopElementBuilder, Action<ColorBuilder>) , SVGBuilderExtensions.FloodOpacity<SVGStopElementBuilder>(SVGStopElementBuilder, double) , SVGBuilderExtensions.FontFamily<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.FontKerning<SVGStopElementBuilder>(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.FontKerning<SVGStopElementBuilder>(SVGStopElementBuilder, Kerning) , SVGBuilderExtensions.FontSize<SVGStopElementBuilder>(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.FontSize<SVGStopElementBuilder>(SVGStopElementBuilder, FontSize) , SVGBuilderExtensions.FontSizeAdjust<SVGStopElementBuilder>(SVGStopElementBuilder, double) , SVGBuilderExtensions.FontSizeAdjust<SVGStopElementBuilder>(SVGStopElementBuilder, ) , SVGBuilderExtensions.FontStretch<SVGStopElementBuilder>(SVGStopElementBuilder, FontStretch) , SVGBuilderExtensions.FontStyle<SVGStopElementBuilder>(SVGStopElementBuilder, FontStyle) , SVGBuilderExtensions.FontVariant<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.FontWeight<SVGStopElementBuilder>(SVGStopElementBuilder, FontWeight) , SVGBuilderExtensions.GlyphOrientationVertical<SVGStopElementBuilder>(SVGStopElementBuilder, TextOrientation) , SVGBuilderExtensions.Id<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.ImageRendering<SVGStopElementBuilder>(SVGStopElementBuilder, ImageRendering) , SVGBuilderExtensions.Lang<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.LetterSpacing<SVGStopElementBuilder>(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.LetterSpacing<SVGStopElementBuilder>(SVGStopElementBuilder, Spacing) , SVGBuilderExtensions.LightingColor<SVGStopElementBuilder>(SVGStopElementBuilder, Color) , SVGBuilderExtensions.LightingColor<SVGStopElementBuilder>(SVGStopElementBuilder, Action<ColorBuilder>) , SVGBuilderExtensions.MarkerEnd<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.MarkerEnd<SVGStopElementBuilder>(SVGStopElementBuilder, MarkerPos) , SVGBuilderExtensions.MarkerMid<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.MarkerMid<SVGStopElementBuilder>(SVGStopElementBuilder, MarkerPos) , SVGBuilderExtensions.MarkerStart<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.MarkerStart<SVGStopElementBuilder>(SVGStopElementBuilder, MarkerPos) , SVGBuilderExtensions.Mask<SVGStopElementBuilder>(SVGStopElementBuilder, Action<MaskBuilder>) , SVGBuilderExtensions.OnCanPlay<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnCanPlayThrough<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnCancel<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnChange<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnClick<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnClose<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnCopy<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnCueChange<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnCut<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDblClick<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDrag<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDragEnd<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDragEnter<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDragExit<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDragLeave<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDragOver<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDragStart<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDrop<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnDurationChange<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnEmptied<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnEnded<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnError<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnFocus<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnInput<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnInvalid<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnKeyDown<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnKeyPress<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnKeyUp<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnLoad<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnLoadStart<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnLoadedData<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnLoadedMetadata<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseDown<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseEnter<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseLeave<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseMove<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseOut<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseOver<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseUp<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnMouseWheel<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnPaste<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnPause<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnPlay<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnPlaying<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnProgress<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnRateChange<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnReset<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnResize<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnScroll<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnSeeked<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnSeeking<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnSelect<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnShow<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnStalled<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnSubmit<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnSuspend<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnTimeUpdate<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnToggle<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnVolumeChange<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.OnWaiting<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.Opacity<SVGStopElementBuilder>(SVGStopElementBuilder, double) , SVGBuilderExtensions.Overflow<SVGStopElementBuilder>(SVGStopElementBuilder, Overflow) , SVGBuilderExtensions.PaintOrder<SVGStopElementBuilder>(SVGStopElementBuilder, PaintOrder) , SVGBuilderExtensions.PointerEvents<SVGStopElementBuilder>(SVGStopElementBuilder, PointerEvents) , SVGBuilderExtensions.SetAttribute<SVGStopElementBuilder>(SVGStopElementBuilder, string, string) , SVGBuilderExtensions.ShapeRendering<SVGStopElementBuilder>(SVGStopElementBuilder, ShapeRendering) , SVGBuilderExtensions.StopColor<SVGStopElementBuilder>(SVGStopElementBuilder, Color) , SVGBuilderExtensions.StopColor<SVGStopElementBuilder>(SVGStopElementBuilder, Action<ColorBuilder>) , SVGBuilderExtensions.StopOpacity<SVGStopElementBuilder>(SVGStopElementBuilder, double) , SVGBuilderExtensions.Stroke<SVGStopElementBuilder>(SVGStopElementBuilder, Action<PaintBuilder>) , SVGBuilderExtensions.Stroke<SVGStopElementBuilder>(SVGStopElementBuilder, Color) , SVGBuilderExtensions.Stroke<SVGStopElementBuilder>(SVGStopElementBuilder, Paint) , SVGBuilderExtensions.StrokeDashArray<SVGStopElementBuilder>(SVGStopElementBuilder, params double[]) , SVGBuilderExtensions.StrokeDashArray<SVGStopElementBuilder>(SVGStopElementBuilder, Dash) , SVGBuilderExtensions.StrokeDashoffset<SVGStopElementBuilder>(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.StrokeLineCap<SVGStopElementBuilder>(SVGStopElementBuilder, StrokeLineCap) , SVGBuilderExtensions.StrokeLineJoin<SVGStopElementBuilder>(SVGStopElementBuilder, StrokeLineJoin) , SVGBuilderExtensions.StrokeMiterlimit<SVGStopElementBuilder>(SVGStopElementBuilder, double) , SVGBuilderExtensions.StrokeOpacity<SVGStopElementBuilder>(SVGStopElementBuilder, double) , SVGBuilderExtensions.StrokeWidth<SVGStopElementBuilder>(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.Style<SVGStopElementBuilder>(SVGStopElementBuilder, Action<RuleBuilder>) , SVGBuilderExtensions.Style<SVGStopElementBuilder>(SVGStopElementBuilder, string) , SVGBuilderExtensions.Tabindex<SVGStopElementBuilder>(SVGStopElementBuilder, int) , SVGBuilderExtensions.TextAnchor<SVGStopElementBuilder>(SVGStopElementBuilder, TextAnchor) , SVGBuilderExtensions.TextDecoration<SVGStopElementBuilder>(SVGStopElementBuilder, bool, bool, bool, bool) , SVGBuilderExtensions.TextOverflow<SVGStopElementBuilder>(SVGStopElementBuilder, TextOverflow) , SVGBuilderExtensions.TextRendering<SVGStopElementBuilder>(SVGStopElementBuilder, TextRendering) , SVGBuilderExtensions.Transform<SVGStopElementBuilder>(SVGStopElementBuilder, Func<TransformBuilder, TransformBuilder>) , SVGBuilderExtensions.UnicodeBidi<SVGStopElementBuilder>(SVGStopElementBuilder, UnicodeBidi) , SVGBuilderExtensions.Visibility<SVGStopElementBuilder>(SVGStopElementBuilder, Visibility) , SVGBuilderExtensions.WhiteSspace<SVGStopElementBuilder>(SVGStopElementBuilder, WhiteSpace) , SVGBuilderExtensions.WordSpacing<SVGStopElementBuilder>(SVGStopElementBuilder, Spacing) , SVGBuilderExtensions.WordSpacing<SVGStopElementBuilder>(SVGStopElementBuilder, double, LengthType) , SVGBuilderExtensions.WritingMode<SVGStopElementBuilder>(SVGStopElementBuilder, WritingMode) , SVGBuilderExtensions.XmlSpace<SVGStopElementBuilder>(SVGStopElementBuilder, XmlSpace)
Constructors
SVGStopElementBuilder()
public SVGStopElementBuilder()Methods
AddScript(Action<SVGScriptElementBuilder>)
Adds a script configuration to the SVG ‘stop’ element.
public SVGStopElementBuilder AddScript(Action<SVGScriptElementBuilder> configure)Parameters
configure Action
<
SVGScriptElementBuilder
>
A delegate to configure the SVGScriptElementBuilder.
Returns
The current instance of SVGStopElementBuilder for method chaining.
AddStyle(Action<SVGStyleElementBuilder>)
Adds a style configuration to the SVG ‘stop’ element.
public SVGStopElementBuilder AddStyle(Action<SVGStyleElementBuilder> configure)Parameters
configure Action
<
SVGStyleElementBuilder
>
A delegate to configure the SVGStyleElementBuilder.
Returns
The current instance of SVGStopElementBuilder for method chaining.
Create(Document)
Creates an instance of SVGStopElement in the provided SVG document context.
protected override SVGStopElement Create(Document document)Parameters
document Document
The SVG document where the element will be created.
Returns
An instance of SVGStopElement.
Offset(double, StopUnitType)
Sets the ‘offset’ attribute of the SVG ‘stop’ element, specifying the position of the color stop within the gradient.
public SVGStopElementBuilder Offset(double value, StopUnitType unitType = StopUnitType.Number)Parameters
value double
The offset value of the color stop (0 to 1 for numbers, 0% to 100% for percentages).
unitType StopUnitType
The unit type of the offset value (number or percentage).
Returns
The current instance of SVGStopElementBuilder for method chaining.