Gorgon
Show / Hide Table of Contents

Class GorgonGlyphHatchBrush

A brush used to draw glyphs using a hatching patterns.

Inheritance
object
GorgonGlyphBrush
GorgonGlyphHatchBrush
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 GorgonGlyphHatchBrush : GorgonGlyphBrush, IGorgonCloneable<GorgonGlyphBrush>, IEquatable<GorgonGlyphBrush>

Properties

| Edit this page View Source

BackgroundColor

Property to set or return the background color for the hatching pattern.

Declaration
public GorgonColor BackgroundColor { get; set; }
Property Value
Type Description
GorgonColor
See Also
GorgonGlyphSolidBrush
GorgonGlyphLinearGradientBrush
GorgonGlyphPathGradientBrush
GorgonGlyphTextureBrush
| 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
GorgonGlyphSolidBrush
GorgonGlyphLinearGradientBrush
GorgonGlyphPathGradientBrush
GorgonGlyphTextureBrush
| Edit this page View Source

ForegroundColor

Property to set or return the foreground color for the hatching pattern.

Declaration
public GorgonColor ForegroundColor { get; set; }
Property Value
Type Description
GorgonColor
See Also
GorgonGlyphSolidBrush
GorgonGlyphLinearGradientBrush
GorgonGlyphPathGradientBrush
GorgonGlyphTextureBrush
| Edit this page View Source

HatchStyle

Property to set or return the style to use for the hatching pattern.

Declaration
public GlyphBrushHatchStyle HatchStyle { get; set; }
Property Value
Type Description
GlyphBrushHatchStyle
See Also
GorgonGlyphSolidBrush
GorgonGlyphLinearGradientBrush
GorgonGlyphPathGradientBrush
GorgonGlyphTextureBrush

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
GorgonGlyphSolidBrush
GorgonGlyphLinearGradientBrush
GorgonGlyphPathGradientBrush
GorgonGlyphTextureBrush
| 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
GorgonGlyphSolidBrush
GorgonGlyphLinearGradientBrush
GorgonGlyphPathGradientBrush
GorgonGlyphTextureBrush

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

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