UtilImageDrawFocalGrayscale Method

Creates grayscale element with a colored focal point represented by a shape.

Definition

Namespace: DevCase.ThirdParty.ImageDraw
Assembly: DevCase.net48.ThirdParty.ImageDraw (in DevCase.net48.ThirdParty.ImageDraw.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void FocalGrayscale(
	ref ImageElement refImageElement,
	FocalShape focalShape,
	FillType fillType,
	GradientShape gradientShape,
	Color gradientColor1,
	Color gradientColor2,
	FocalLocation location = 0,
	int locationX = 1,
	int locationY = 1,
	FocalSizing sizing = 1,
	int sizingHeight = 1,
	int sizingWidth = 1
)

Parameters

refImageElement  ImageElement
The image draw element.
focalShape  FocalShape

[Missing <param name="focalShape"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.FocalGrayscale(Neodynamic.SDK.ImageDraw.ImageElement@,Neodynamic.SDK.ImageDraw.FocalShape,Neodynamic.SDK.ImageDraw.FillType,Neodynamic.SDK.ImageDraw.GradientShape,System.Drawing.Color,System.Drawing.Color,Neodynamic.SDK.ImageDraw.FocalLocation,System.Int32,System.Int32,Neodynamic.SDK.ImageDraw.FocalSizing,System.Int32,System.Int32)"]

fillType  FillType

[Missing <param name="fillType"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.FocalGrayscale(Neodynamic.SDK.ImageDraw.ImageElement@,Neodynamic.SDK.ImageDraw.FocalShape,Neodynamic.SDK.ImageDraw.FillType,Neodynamic.SDK.ImageDraw.GradientShape,System.Drawing.Color,System.Drawing.Color,Neodynamic.SDK.ImageDraw.FocalLocation,System.Int32,System.Int32,Neodynamic.SDK.ImageDraw.FocalSizing,System.Int32,System.Int32)"]

gradientShape  GradientShape

[Missing <param name="gradientShape"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.FocalGrayscale(Neodynamic.SDK.ImageDraw.ImageElement@,Neodynamic.SDK.ImageDraw.FocalShape,Neodynamic.SDK.ImageDraw.FillType,Neodynamic.SDK.ImageDraw.GradientShape,System.Drawing.Color,System.Drawing.Color,Neodynamic.SDK.ImageDraw.FocalLocation,System.Int32,System.Int32,Neodynamic.SDK.ImageDraw.FocalSizing,System.Int32,System.Int32)"]

gradientColor1  Color

[Missing <param name="gradientColor1"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.FocalGrayscale(Neodynamic.SDK.ImageDraw.ImageElement@,Neodynamic.SDK.ImageDraw.FocalShape,Neodynamic.SDK.ImageDraw.FillType,Neodynamic.SDK.ImageDraw.GradientShape,System.Drawing.Color,System.Drawing.Color,Neodynamic.SDK.ImageDraw.FocalLocation,System.Int32,System.Int32,Neodynamic.SDK.ImageDraw.FocalSizing,System.Int32,System.Int32)"]

gradientColor2  Color

[Missing <param name="gradientColor2"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.FocalGrayscale(Neodynamic.SDK.ImageDraw.ImageElement@,Neodynamic.SDK.ImageDraw.FocalShape,Neodynamic.SDK.ImageDraw.FillType,Neodynamic.SDK.ImageDraw.GradientShape,System.Drawing.Color,System.Drawing.Color,Neodynamic.SDK.ImageDraw.FocalLocation,System.Int32,System.Int32,Neodynamic.SDK.ImageDraw.FocalSizing,System.Int32,System.Int32)"]

location  FocalLocation  (Optional)

[Missing <param name="location"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.FocalGrayscale(Neodynamic.SDK.ImageDraw.ImageElement@,Neodynamic.SDK.ImageDraw.FocalShape,Neodynamic.SDK.ImageDraw.FillType,Neodynamic.SDK.ImageDraw.GradientShape,System.Drawing.Color,System.Drawing.Color,Neodynamic.SDK.ImageDraw.FocalLocation,System.Int32,System.Int32,Neodynamic.SDK.ImageDraw.FocalSizing,System.Int32,System.Int32)"]

locationX  Int32  (Optional)

[Missing <param name="locationX"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.FocalGrayscale(Neodynamic.SDK.ImageDraw.ImageElement@,Neodynamic.SDK.ImageDraw.FocalShape,Neodynamic.SDK.ImageDraw.FillType,Neodynamic.SDK.ImageDraw.GradientShape,System.Drawing.Color,System.Drawing.Color,Neodynamic.SDK.ImageDraw.FocalLocation,System.Int32,System.Int32,Neodynamic.SDK.ImageDraw.FocalSizing,System.Int32,System.Int32)"]

locationY  Int32  (Optional)

[Missing <param name="locationY"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.FocalGrayscale(Neodynamic.SDK.ImageDraw.ImageElement@,Neodynamic.SDK.ImageDraw.FocalShape,Neodynamic.SDK.ImageDraw.FillType,Neodynamic.SDK.ImageDraw.GradientShape,System.Drawing.Color,System.Drawing.Color,Neodynamic.SDK.ImageDraw.FocalLocation,System.Int32,System.Int32,Neodynamic.SDK.ImageDraw.FocalSizing,System.Int32,System.Int32)"]

sizing  FocalSizing  (Optional)

[Missing <param name="sizing"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.FocalGrayscale(Neodynamic.SDK.ImageDraw.ImageElement@,Neodynamic.SDK.ImageDraw.FocalShape,Neodynamic.SDK.ImageDraw.FillType,Neodynamic.SDK.ImageDraw.GradientShape,System.Drawing.Color,System.Drawing.Color,Neodynamic.SDK.ImageDraw.FocalLocation,System.Int32,System.Int32,Neodynamic.SDK.ImageDraw.FocalSizing,System.Int32,System.Int32)"]

sizingHeight  Int32  (Optional)

[Missing <param name="sizingHeight"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.FocalGrayscale(Neodynamic.SDK.ImageDraw.ImageElement@,Neodynamic.SDK.ImageDraw.FocalShape,Neodynamic.SDK.ImageDraw.FillType,Neodynamic.SDK.ImageDraw.GradientShape,System.Drawing.Color,System.Drawing.Color,Neodynamic.SDK.ImageDraw.FocalLocation,System.Int32,System.Int32,Neodynamic.SDK.ImageDraw.FocalSizing,System.Int32,System.Int32)"]

sizingWidth  Int32  (Optional)

[Missing <param name="sizingWidth"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.FocalGrayscale(Neodynamic.SDK.ImageDraw.ImageElement@,Neodynamic.SDK.ImageDraw.FocalShape,Neodynamic.SDK.ImageDraw.FillType,Neodynamic.SDK.ImageDraw.GradientShape,System.Drawing.Color,System.Drawing.Color,Neodynamic.SDK.ImageDraw.FocalLocation,System.Int32,System.Int32,Neodynamic.SDK.ImageDraw.FocalSizing,System.Int32,System.Int32)"]

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

Neodynamic.SDK.ImageDraw by Neodynamic

See Also