EmbossBitmapEffect.LightAngle Property

Definition

Note: This API is now obsolete. The non-obsolete alternative is Effect. Gets or sets the direction the artificial light is cast upon the embossed object.

public double LightAngle { get; set; }

Property Value

The direction the artificial light is cast upon the embossed object. The valid range is from 0-360 (degrees) with 0 specifying the right-hand side of the object and successive values moving counter-clockwise around the object. The default value is 45.

Remarks

The direction of light cast on the embossed object affects the shadowing of the embossed visual object.

The following diagram shows what direction light comes from for a given value of this property:

Diagram: DropShadow direction

Dependency Property Information

Identifier field LightAngleProperty
Metadata properties set to true None

Applies to

Produto Versões
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9