A trivial implementation of a IPortStyleRenderer that draws ISimplePortStyle instances using a small colored circle.

Namespace: yWorks.yFiles.UI.Drawing
Assembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)

Syntax

C#
public class SimplePortStyleRenderer : AbstractStyleRenderer<IPort, IPortStyle, ISimplePortStyle>, 
	IPortStyleRenderer, IStyleRenderer<IPort, IPortStyle>
Visual Basic
Public Class SimplePortStyleRenderer _
	Inherits AbstractStyleRenderer(Of IPort, IPortStyle, ISimplePortStyle) _
	Implements IPortStyleRenderer, IStyleRenderer(Of IPort, IPortStyle)

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.Drawing..::..AbstractStyleRenderer<(Of <(<'IPort, IPortStyle, ISimplePortStyle>)>)>
    yWorks.yFiles.UI.Drawing..::..SimplePortStyleRenderer

See Also