An abstract implementation of an AbstractPaintableStyleRenderer<(Of <(<'TModelItem, TModelStyle, TStyle>)>)>
that is based on the IPaintable interface and can be used to install an INode with
a corresponding INodeStyle and a concrete
style implementation.
Namespace: yWorks.yFiles.UI.DrawingAssembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
public abstract class AbstractPaintableNodeStyleRenderer<TStyle> : AbstractPaintableStyleRenderer<INode, INodeStyle, TStyle>, IShapeGeometry, INodeStyleRenderer, IStyleRenderer<INode, INodeStyle> where TStyle : class, INodeStyle |
| Visual Basic |
|---|
Public MustInherit Class AbstractPaintableNodeStyleRenderer(Of TStyle As {Class, INodeStyle}) _ Inherits AbstractPaintableStyleRenderer(Of INode, INodeStyle, TStyle) _ Implements IShapeGeometry, INodeStyleRenderer, IStyleRenderer(Of INode, INodeStyle) |
Type Parameters
- TStyle
- the specific style interface used by style instances that return this renderer
Remarks
Subclasses need to implement the Paint(DrawingContext, IRenderContext) method, only. If the style data is mutable, they should override methods CreateRenderStateTag(IRenderContext), IsRenderStateValid(IRenderContext, Object), and UpdateRenderStateTag(IRenderContext, Object) accordingly. See the base class documentation on how to do this properly.
Inheritance Hierarchy
System..::..Object
yWorks.yFiles.UI.Drawing..::..AbstractStyleRenderer<(Of <(<'INode, INodeStyle, TStyle>)>)>
yWorks.yFiles.UI.Drawing..::..AbstractPaintableStyleRenderer<(Of <(<'INode, INodeStyle, TStyle>)>)>
yWorks.yFiles.UI.Drawing..::..AbstractPaintableNodeStyleRenderer<(Of <(<'TStyle>)>)>
yWorks.yFiles.UI.Drawing..::..AbstractStyleRenderer<(Of <(<'INode, INodeStyle, TStyle>)>)>
yWorks.yFiles.UI.Drawing..::..AbstractPaintableStyleRenderer<(Of <(<'INode, INodeStyle, TStyle>)>)>
yWorks.yFiles.UI.Drawing..::..AbstractPaintableNodeStyleRenderer<(Of <(<'TStyle>)>)>