Table of Contents

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

Color

Methods

DeepCopy()

public override SvgElement DeepCopy()

Returns

SvgElement

DeepCopy<T>()

public override SvgElement DeepCopy<T>() where T : SvgElement, new()

Returns

SvgElement

Type Parameters

T

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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 SvgVisualElement

The owner SvgVisualElement.

renderer ISvgRenderer

The renderer object.

opacity float

The opacity of the brush.

forStroke bool

Not used.

Returns

Brush

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.