A simple implementation of the IPortLocationModel
that uses simple PointD and IPoint implementations
to anchor ports in the world coordinate system.
Namespace: yWorks.yFiles.UI.PortLocationModelsAssembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.1.0.2
Syntax
| C# |
|---|
[SingletonSerializationAttribute] public sealed class AnchoredPortLocationModel : IPortLocationModel, ILookup |
| Visual Basic |
|---|
<SingletonSerializationAttribute> _ Public NotInheritable Class AnchoredPortLocationModel _ Implements IPortLocationModel, ILookup |
Remarks
This implementation can be used for ports at all kinds of IPortOwner
implementations because it does not depend on the owner of the port at all.
Inheritance Hierarchy
System..::..Object
yWorks.yFiles.UI.PortLocationModels..::..AnchoredPortLocationModel
yWorks.yFiles.UI.PortLocationModels..::..AnchoredPortLocationModel