Namespace: yWorks.yFiles.UI.Drawing
Assembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)
Assembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
| C# |
|---|
public interface IPortStyle : IVisualStyle<IPort>, IModelItemInstaller<IPort>, ICloneable |
| Visual Basic |
|---|
Public Interface IPortStyle _ Inherits IVisualStyle(Of IPort), IModelItemInstaller(Of IPort), _ ICloneable |
Remarks
Implementations are responsible for rendering IPort
instances in a CanvasControl.
It is up to the implementation to interpret the visual appearance of a
port.
The framework uses the associated, possibly shared Renderer
to perform the actual rendering of this style for a given port.
This interface extends the ICloneable interface. This allows clients
to obtain a persistent copy of the current state of this style.
Immutable style implementations may return themselves.