Search
ElementTemplate.GetElementPen Method
See Also
 





Gets a pen used to render the element. If no pen properties are explicitly specified for this element, returns the pen passed as an argument.

Namespace: MindFusion.Diagramming.Avalonia
Assembly: MindFusion.Diagramming.Avalonia

 Syntax

C#  Copy Code

protected IPen GetElementPen (
    IPen pen
)

Visual Basic  Copy Code

Protected Function GetElementPen( _
    pen As IPen _
) As IPen

 Parameters

pen
An Avalonia.Media.Pen object specifying the base pen.

 Return Value

An Avalonia.Media.Pen instance to use for drawing.

 See Also