Click or drag to resize

SyntheticBrushBase Class

Provides the base implementation for synthetic brush textures.
Inheritance Hierarchy
SystemObject
  Altaxo.DrawingImageProxy
    Altaxo.Graph.Gdi.SyntheticBrushesSyntheticBrushBase
      Altaxo.Graph.Gdi.SyntheticBrushesRandomCircles

Namespace: Altaxo.Graph.Gdi.SyntheticBrushes
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public abstract class SyntheticBrushBase : ImageProxy, 
	IHatchBrushTexture, ISyntheticRepeatableTexture

The SyntheticBrushBase type exposes the following members.

Constructors
 NameDescription
Protected methodSyntheticBrushBaseInitializes a new instance of the SyntheticBrushBase class
Top
Properties
 NameDescription
Public propertyContentHash Gets a string that is unique for the content of the proxy.
(Overrides ImageProxyContentHash)
Public propertyIsValid Returns true if this image proxy holds valid content.
(Overrides ImageProxyIsValid)
Public propertyName Gets the name of the instance. Can be a file name, resource name, Url etc.
(Overrides ImageProxyName)
Public propertyRepeatLength Gets the repeat length in points.
Public propertySizeReturns the original size of the image in points (1/72 inch).
(Overrides ImageProxySize)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetContentStream Gets the content of the image proxy as a (library independent) stream. Any library that can read image streams can be used to convert the stream in the corresponding image.
(Overrides ImageProxyGetContentStream)
Public methodGetContentStream(Double) Gets the content stream for the specified resolution.
Public methodGetContentStream(Double, NamedColor, NamedColor) Gets the content stream for the specified resolution and colors.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetImage Creates the image for the specified resolution and colors.
Protected methodGetPixelDimensions(Double) Gets the pixel dimensions for the specified effective resolution.
Protected methodGetPixelDimensions(Double, Double, Int32) Gets the pixel dimensions for the specified structure size constraints.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasSameContentAs Determines whether the provided image proxy has the same content as this one.
(Inherited from ImageProxy)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Converts to string.
(Inherited from ImageProxy)
Public methodWithRepeatLength Creates a copy with a different repeat length.
Top
Fields
 NameDescription
Protected fieldStatic member_defaultBackColor Default background color.
Protected fieldStatic member_defaultForeColor Default foreground color.
Protected field_repeatLengthPt Repeat length in points (1/72 inch) in x-direction.
Protected fieldStatic memberDefaultEffectiveResolution Default effective resolution in DPI.
Protected fieldStatic memberMaximumBitmapPixelSize Maximum bitmap size in pixels.
Protected fieldStatic memberMinimumBitmapPixelSize Minimum bitmap size in pixels.
Top
See Also