SVGBuilderExtensions.AddFeSpecularLighting
Contents
[
Hide
]AddFeSpecularLighting<TBuilder>(this TBuilder, Action<SVGFEDistantLightElementBuilder>, Color?, double?, double?, double?, OneOf<double, (double, double)>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFESpecularLightingElementBuilder>)
Adds an ‘feSpecularLighting’ element to the SVG builder, applying a specular lighting effect using a specified light source.
public static TBuilder AddFeSpecularLighting<TBuilder>(this TBuilder builder,
Action<SVGFEDistantLightElementBuilder> lightSource, Color? lightingColor = default,
double? surfaceScale = null, double? specularConstant = null, double? specularExponent = null,
OneOf<double, (double, double)> kernelUnitLength = null, OneOf<string, FilterInput> @in = null,
string result = null, OneOf<double, (double, LengthType)> x = null,
OneOf<double, (double, LengthType)> y = null, OneOf<double, (double, LengthType)> width = null,
OneOf<double, (double, LengthType)> height = null, OneOf<Color, Paint, string> fill = null,
OneOf<Color, Paint, string> stroke = null, string id = null,
Action<SVGFESpecularLightingElementBuilder> extend = null)
where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder, facilitating fluent API usage. |
builder | The SVG builder instance to which the ‘feSpecularLighting’ element will be added. |
lightSource | An action to configure the light source for the specular lighting effect. |
lightingColor | The color of the light. Optional parameter. |
surfaceScale | The surface scale factor for the lighting effect. Optional parameter. |
specularConstant | The constant used to scale the specular term. Optional parameter. |
specularExponent | The exponent for the specular term, controlling the focus of the specular highlight. Optional parameter. |
kernelUnitLength | The kernel unit length for the convolution filter. Can be a double or a ValueTuple of two doubles. Optional parameter. |
in | The input image to which the specular lighting effect will be applied. Can be a string or a FilterInput. Optional parameter. |
result | The result identifier for this filter primitive. Optional parameter. |
x | The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter. |
y | The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter. |
width | The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter. |
height | The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter. |
fill | The fill color, paint or paint server id for the element. Optional parameter. |
stroke | The stroke color, paint or paint server id for the element. Optional parameter. |
id | The unique identifier for the filter primitive element. Optional parameter. |
extend | An optional action to further configure the SVGFESpecularLightingElementBuilder. |
Return Value
The builder instance, allowing for method chaining.
See Also
- class SVGFEDistantLightElementBuilder
- class OneOf<T1,T2>
- enum FilterInput
- enum LengthType
- class OneOf<T1,T2,T3>
- enum Paint
- class SVGFESpecularLightingElementBuilder
- interface ISVGElementBuilder
- interface IFilterPrimitiveElementBuilder
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG
AddFeSpecularLighting<TBuilder>(this TBuilder, Action<SVGFEPointLightElementBuilder>, Color?, double?, double?, double?, OneOf<double, (double, double)>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFESpecularLightingElementBuilder>)
Adds an ‘feSpecularLighting’ element to the SVG builder, applying a specular lighting effect using a specified light source.
public static TBuilder AddFeSpecularLighting<TBuilder>(this TBuilder builder,
Action<SVGFEPointLightElementBuilder> lightSource, Color? lightingColor = default,
double? surfaceScale = null, double? specularConstant = null, double? specularExponent = null,
OneOf<double, (double, double)> kernelUnitLength = null, OneOf<string, FilterInput> @in = null,
string result = null, OneOf<double, (double, LengthType)> x = null,
OneOf<double, (double, LengthType)> y = null, OneOf<double, (double, LengthType)> width = null,
OneOf<double, (double, LengthType)> height = null, OneOf<Color, Paint, string> fill = null,
OneOf<Color, Paint, string> stroke = null, string id = null,
Action<SVGFESpecularLightingElementBuilder> extend = null)
where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder, facilitating fluent API usage. |
builder | The SVG builder instance to which the ‘feSpecularLighting’ element will be added. |
lightSource | An action to configure the light source for the specular lighting effect. |
lightingColor | The color of the light. Optional parameter. |
surfaceScale | The surface scale factor for the lighting effect. Optional parameter. |
specularConstant | The constant used to scale the specular term. Optional parameter. |
specularExponent | The exponent for the specular term, controlling the focus of the specular highlight. Optional parameter. |
kernelUnitLength | The kernel unit length for the convolution filter. Can be a double or a ValueTuple of two doubles. Optional parameter. |
in | The input image to which the specular lighting effect will be applied. Can be a string or a FilterInput. Optional parameter. |
result | The result identifier for this filter primitive. Optional parameter. |
x | The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter. |
y | The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter. |
width | The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter. |
height | The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter. |
fill | The fill color, paint or paint server id for the element. Optional parameter. |
stroke | The stroke color, paint or paint server id for the element. Optional parameter. |
id | The unique identifier for the filter primitive element. Optional parameter. |
extend | An optional action to further configure the SVGFESpecularLightingElementBuilder. |
Return Value
The builder instance, allowing for method chaining.
See Also
- class SVGFEPointLightElementBuilder
- class OneOf<T1,T2>
- enum FilterInput
- enum LengthType
- class OneOf<T1,T2,T3>
- enum Paint
- class SVGFESpecularLightingElementBuilder
- interface ISVGElementBuilder
- interface IFilterPrimitiveElementBuilder
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG
AddFeSpecularLighting<TBuilder>(this TBuilder, Action<SVGFESpotLightElementBuilder>, Color?, double?, double?, double?, OneOf<double, (double, double)>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFESpecularLightingElementBuilder>)
Adds an ‘feSpecularLighting’ element to the SVG builder, applying a specular lighting effect using a specified light source.
public static TBuilder AddFeSpecularLighting<TBuilder>(this TBuilder builder,
Action<SVGFESpotLightElementBuilder> lightSource, Color? lightingColor = default,
double? surfaceScale = null, double? specularConstant = null, double? specularExponent = null,
OneOf<double, (double, double)> kernelUnitLength = null, OneOf<string, FilterInput> @in = null,
string result = null, OneOf<double, (double, LengthType)> x = null,
OneOf<double, (double, LengthType)> y = null, OneOf<double, (double, LengthType)> width = null,
OneOf<double, (double, LengthType)> height = null, OneOf<Color, Paint, string> fill = null,
OneOf<Color, Paint, string> stroke = null, string id = null,
Action<SVGFESpecularLightingElementBuilder> extend = null)
where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder, facilitating fluent API usage. |
builder | The SVG builder instance to which the ‘feSpecularLighting’ element will be added. |
lightSource | An action to configure the light source for the specular lighting effect. |
lightingColor | The color of the light. Optional parameter. |
surfaceScale | The surface scale factor for the lighting effect. Optional parameter. |
specularConstant | The constant used to scale the specular term. Optional parameter. |
specularExponent | The exponent for the specular term, controlling the focus of the specular highlight. Optional parameter. |
kernelUnitLength | The kernel unit length for the convolution filter. Can be a double or a ValueTuple of two doubles. Optional parameter. |
in | The input image to which the specular lighting effect will be applied. Can be a string or a FilterInput. Optional parameter. |
result | The result identifier for this filter primitive. Optional parameter. |
x | The x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter. |
y | The y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter. |
width | The width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter. |
height | The height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter. |
fill | The fill color, paint or paint server id for the element. Optional parameter. |
stroke | The stroke color, paint or paint server id for the element. Optional parameter. |
id | The unique identifier for the filter primitive element. Optional parameter. |
extend | An optional action to further configure the SVGFESpecularLightingElementBuilder. |
Return Value
The builder instance, allowing for method chaining.
See Also
- class SVGFESpotLightElementBuilder
- class OneOf<T1,T2>
- enum FilterInput
- enum LengthType
- class OneOf<T1,T2,T3>
- enum Paint
- class SVGFESpecularLightingElementBuilder
- interface ISVGElementBuilder
- interface IFilterPrimitiveElementBuilder
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG
AddFeSpecularLighting<TBuilder>(this TBuilder, Action<SVGFESpecularLightingElementBuilder>)
Adds an ‘feSpecularLighting’ element configuration to the builder. This element applies a lighting effect to the image, simulating specular reflection.
public static TBuilder AddFeSpecularLighting<TBuilder>(this TBuilder builder,
Action<SVGFESpecularLightingElementBuilder> configure)
where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The builder instance. |
configure | The configuration action for the ‘feSpecularLighting’ element. |
Return Value
The builder instance for chaining.
See Also
- class SVGFESpecularLightingElementBuilder
- interface ISVGElementBuilder
- interface IFilterPrimitiveElementBuilder
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG