Gorgon
Show / Hide Table of Contents

Class GorgonGlyphSolidBrush

A brush used to draw glyphs using a solid fill color.

Inheritance
object
GorgonGlyphBrush
GorgonGlyphSolidBrush
Implements
IGorgonCloneable<GorgonGlyphBrush>
IEquatable<GorgonGlyphBrush>
Inherited Members
GorgonGlyphBrush.GetHashCode()
GorgonGlyphBrush.Equals(object)
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 class GorgonGlyphSolidBrush : GorgonGlyphBrush, IGorgonCloneable<GorgonGlyphBrush>, IEquatable<GorgonGlyphBrush>
Remarks

This is the default brush type used when no brush is specified when creating font glyphs.

Constructors

| Edit this page View Source

GorgonGlyphSolidBrush()

Initializes a new instance of the GorgonGlyphSolidBrush class.

Declaration
public GorgonGlyphSolidBrush()
See Also
GorgonGlyphTextureBrush
GorgonGlyphHatchBrush
GorgonGlyphLinearGradientBrush
GorgonGlyphPathGradientBrush

Properties

| Edit this page View Source

BrushType

Property to return the type of brush.

Declaration
public override GlyphBrushType BrushType { get; }
Property Value
Type Description
GlyphBrushType
Overrides
GorgonGlyphBrush.BrushType
See Also
GorgonGlyphTextureBrush
GorgonGlyphHatchBrush
GorgonGlyphLinearGradientBrush
GorgonGlyphPathGradientBrush
| Edit this page View Source

Color

Property to set or return the color for the brush.

Declaration
public GorgonColor Color { get; set; }
Property Value
Type Description
GorgonColor
See Also
GorgonGlyphTextureBrush
GorgonGlyphHatchBrush
GorgonGlyphLinearGradientBrush
GorgonGlyphPathGradientBrush

Methods

| Edit this page View Source

Clone()

Function to clone an object.

Declaration
public override GorgonGlyphBrush Clone()
Returns
Type Description
GorgonGlyphBrush

The cloned object.

Overrides
GorgonGlyphBrush.Clone()
See Also
GorgonGlyphTextureBrush
GorgonGlyphHatchBrush
GorgonGlyphLinearGradientBrush
GorgonGlyphPathGradientBrush
| Edit this page View Source

Equals(GorgonGlyphBrush)

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

Declaration
public override 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).
Overrides
GorgonGlyphBrush.Equals(GorgonGlyphBrush)
See Also
GorgonGlyphTextureBrush
GorgonGlyphHatchBrush
GorgonGlyphLinearGradientBrush
GorgonGlyphPathGradientBrush

Implements

IGorgonCloneable<T>
IEquatable<T>

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)

See Also

GorgonGlyphTextureBrush
GorgonGlyphHatchBrush
GorgonGlyphLinearGradientBrush
GorgonGlyphPathGradientBrush
  • 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