Class SvgColourServer
- Namespace
- Svg
- Assembly
- Svg.dll
public class SvgColourServer : SvgPaintServer, ISvgTransformable, ICloneable, ISvgNode
- Inheritance
-
SvgColourServer
- Implements
- Inherited Members
- Extension Methods
Constructors
SvgColourServer()
public SvgColourServer()
SvgColourServer(Color)
public SvgColourServer(Color colour)
Parameters
colourColor
Properties
Colour
public Color Colour { get; set; }
Property Value
Methods
DeepCopy()
public override SvgElement DeepCopy()
Returns
DeepCopy<T>()
public override SvgElement DeepCopy<T>() where T : SvgElement, new()
Returns
Type Parameters
T
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetBrush(SvgVisualElement, ISvgRenderer, float, bool)
Gets a Brush representing the current paint server.
public override Brush GetBrush(SvgVisualElement styleOwner, ISvgRenderer renderer, float opacity, bool forStroke = false)
Parameters
styleOwnerSvgVisualElementThe owner SvgVisualElement.
rendererISvgRendererThe renderer object.
opacityfloatThe opacity of the brush.
forStrokeboolNot used.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
public override string ToString()