SVGBuilderExtensions.RefX

RefX<TBuilder>(this TBuilder, double, LengthType)

Sets the ‘refX’ attribute for an SVG element.

public static TBuilder RefX<TBuilder>(this TBuilder builder, double value, 
    LengthType type = LengthType.Px)
    where TBuilder : ISVGElementBuilder, IRefCoordinatesAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
valueThe reference X coordinate.
typeThe type of length unit (default is pixels).

Return Value

The builder instance for chaining.

See Also


RefX<TBuilder>(this TBuilder, HorizontalPosition)

Sets the ‘refX’ attribute for an SVG element using a predefined horizontal position.

public static TBuilder RefX<TBuilder>(this TBuilder builder, HorizontalPosition value)
    where TBuilder : ISVGElementBuilder, IRefCoordinatesAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
valueThe predefined horizontal position.

Return Value

The builder instance for chaining.

See Also