This documentation is for the old version. Go to the latest Graphics Mill docs

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

Visual Basic
Public Sub New ( _
	shadowColor As Color, _
	horizontalOffset As Single, _
	verticalOffset As Single, _
	radius As Single, _
	enlargeToFit As Boolean _
)
C#
public Shadow(
	Color shadowColor,
	float horizontalOffset,
	float verticalOffset,
	float radius,
	bool enlargeToFit
)

Parameters

shadowColor

Type: Aurigma.GraphicsMill.Color

Color value that specifies shadow color. You can change it later using ShadowColor 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