Click or drag to resize

RandomCircles Class

Generates a synthetic brush texture consisting of randomly distributed circles.
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 class RandomCircles : SyntheticBrushBase

The RandomCircles type exposes the following members.

Constructors
 NameDescription
Public methodRandomCircles Initializes a new instance of the RandomCircles class.
Top
Properties
 NameDescription
Public propertyCircleDiameter Gets the circle diameter in points.
Public propertyContentHash Gets a string that is unique for the content of the proxy.
(Inherited from SyntheticBrushBase)
Public propertyFillingFactor Gets the filling factor.
Public propertyIsValid Returns true if this image proxy holds valid content.
(Inherited from SyntheticBrushBase)
Public propertyName Gets the name of the instance. Can be a file name, resource name, Url etc.
(Inherited from SyntheticBrushBase)
Public propertyRepeatLength Gets the repeat length in points.
(Inherited from SyntheticBrushBase)
Public propertySizeReturns the original size of the image in points (1/72 inch).
(Inherited from SyntheticBrushBase)
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.
(Inherited from SyntheticBrushBase)
Public methodGetContentStream(Double) Gets the content stream for the specified resolution.
(Inherited from SyntheticBrushBase)
Public methodGetContentStream(Double, NamedColor, NamedColor) Gets the content stream for the specified resolution and colors.
(Inherited from SyntheticBrushBase)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetImage Creates the image for the specified resolution and colors.
(Overrides SyntheticBrushBaseGetImage(Double, NamedColor, NamedColor))
Protected methodGetPixelDimensions(Double) Gets the pixel dimensions for the specified effective resolution.
(Inherited from SyntheticBrushBase)
Protected methodGetPixelDimensions(Double, Double, Int32) Gets the pixel dimensions for the specified structure size constraints.
(Inherited from SyntheticBrushBase)
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 methodWithCircleDiameter Creates a copy with a different circle diameter.
Public methodWithFillingFactor Creates a copy with a different filling factor.
Public methodWithRepeatLength Creates a copy with a different repeat length.
(Inherited from SyntheticBrushBase)
Top
Fields
 NameDescription
Protected field_circleDiameterPt The circle diameter in points.
Protected field_fillingFactor The filling factor.
Protected field_randomSeed The random seed used to generate the pattern.
Protected field_repeatLengthPt Repeat length in points (1/72 inch) in x-direction.
(Inherited from SyntheticBrushBase)
Top
See Also