Shadow Constructor (Color, Single, Single, Single, Boolean)

Creates and initializes new Shadow class instance. You can set all the shadow parameters here.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public Shadow(
	Color color,
	float horizontalOffset,
	float verticalOffset,
	float radius,
	bool enlargeToFit
)

Parameters

color

Type: Aurigma.GraphicsMill.Color

A Color of this shadow. You can change it later using the Color property.
horizontalOffset

Type: System.Single

Value that specifies horizontal offset of the shadow. You can change it later using HorizontalOffset property.
verticalOffset

Type: System.Single

Value that specifies vertical offset of the shadow. You can change it later using VerticalOffset property.
radius

Type: System.Single

Value that specifies a blur radius used to blur the shadow. You can change it later using Radius property.
enlargeToFit

Type: System.Boolean

Value that specifies whether to enlarge the image to fit entire shadow. You can change it later using EnlargeToFit property.

See Also

Reference