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
colour
Color
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
obj
objectThe 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
styleOwner
SvgVisualElementThe owner SvgVisualElement.
renderer
ISvgRendererThe renderer object.
opacity
floatThe opacity of the brush.
forStroke
boolNot 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()