Uređivanje

Dijeli putem


BevelBitmapEffect.LightAngle Property

Definition

Note: This API is now obsolete. The non-obsolete alternative is Effect. Gets or sets the direction the "virtual light" is coming from that creates the shadows of the bevel.

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 of the virtual light source. 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 shadows of the bevel are on the opposite side of where the light is cast. The default value is 135.

Remarks

The following diagram shows what direction light comes from for a given value of this property. Shadows of the bevel are cast on the opposite side from the light angle.

Diagram: DropShadow direction

The following illustration demonstrates the effect of this property:

Screenshot: Compare light angles

Dependency Property Information

Identifier field LightAngleProperty
Metadata properties set to true None

Applies to