Bewerken

Delen via


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:
 property double LightAngle { double get(); void set(double value); };
public double LightAngle { get; set; }
member this.LightAngle : double with get, set
Public Property LightAngle As Double

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