Gorgon
Show / Hide Table of Contents

Class GorgonGlyphBrush

A brush used to paint the glyphs when generating a font.

Inheritance
object
GorgonGlyphBrush
GorgonGlyphHatchBrush
GorgonGlyphLinearGradientBrush
GorgonGlyphPathGradientBrush
GorgonGlyphSolidBrush
GorgonGlyphTextureBrush
Implements
IGorgonCloneable<GorgonGlyphBrush>
IEquatable<GorgonGlyphBrush>
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Graphics.Fonts
Assembly: Gorgon.Graphics.Fonts.dll
Syntax
public abstract class GorgonGlyphBrush : IGorgonCloneable<GorgonGlyphBrush>, IEquatable<GorgonGlyphBrush>

Properties

| Edit this page View Source

BrushType

Property to return the type of brush.

Declaration
public abstract GlyphBrushType BrushType { get; }
Property Value
Type Description
GlyphBrushType

Methods

| Edit this page View Source

Clone()

Function to clone an object.

Declaration
public abstract GorgonGlyphBrush Clone()
Returns
Type Description
GorgonGlyphBrush

The cloned object.

| Edit this page View Source

Equals(GorgonGlyphBrush)

Indicates whether the current object is equal to another object of the same type.

Declaration
public abstract bool Equals(GorgonGlyphBrush other)
Parameters
Type Name Description
GorgonGlyphBrush other

An object to compare with this object.

Returns
Type Description
bool true True true true (True in Visual Basic) if the current object is equal to the other parameter; otherwise, falseFalsefalsefalse (False in Visual Basic).
| Edit this page View Source

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to compare with the current object.

Returns
Type Description
bool

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

Overrides
object.Equals(object)
| Edit this page View Source

GetHashCode()

Returns a hash code for this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides
object.GetHashCode()

Implements

IGorgonCloneable<T>
IEquatable<T>

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author