Search
Diagram.SetShadowOffset Method
See Also
 





Sets the default offset at which items shadows are drawn.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void SetShadowOffset (
    float x,
    float y
)

Visual Basic  Copy Code

Public Sub SetShadowOffset( _
    x As Single, _
    y As Single _
)

 Parameters

x

The horizontal offset of the item shadow.

y
The vertical offset of the item shadow.

 Remarks

Use the method to draw shadows that are closer or further to the item they belong to. The values are applied respectively to the ShadowOffsetX and ShadowOffsetY properties.

 See Also