Class vdGdiPenStyle
- Namespace
- VectorDraw.Render
- Assembly
- VectorDraw.Render.dll
Implements the vdGdiPenStyle which is the Penstyle for objects that are rendered in a vdRender object.
public class vdGdiPenStyle
- Inheritance
-
vdGdiPenStyle
- Inherited Members
Constructors
- vdGdiPenStyle()
Initializes the object.
- vdGdiPenStyle(Color, byte)
Initializes a new instance of the object.
- vdGdiPenStyle(Color, byte, bool, double)
Initializes the object with the passed parameters.
- vdGdiPenStyle(Color, LineType, double)
Initializes the object with the passed parameters.
- vdGdiPenStyle(vdGdiPenStyle)
Initializes the object applying the passed object's properties to this object.
- vdGdiPenStyle(vdRender)
Initializes the object with CopyFrom render.PenStyle.
- vdGdiPenStyle(vdRender, bool)
Initializes the object with CopyFrom render.PenStyle.
- vdGdiPenStyle(vdRender, LineType, double)
Initializes the object with the passed parameters.
Properties
- AlphaBlending
Specifies the amount of filtered transparency of a surface.
- Ambient
Simulate the amount of the light that is scattered around the scene that does not come directly from a light source on a surface
- ByBlockProperties
Get/Set the properties that returns the owner block penstyle values.
- Diffuse
Diffuse determines how much of the light that is seen comes directly from a light source on a surface.
- Extra
Get/Set the structure object that contains the properties of : color AlphaBlending Transmit Ambient Diffuse Specular Roughness Reflection Refraction Metallic
- IndexId
Get/Set the index id if this object is an item of a a vdGdiPenStyles collection
- LineTypeScale
Get/Set the scale of the linetype.
- MaterialBind
Represents the image for the penstyle used in hatching.
- MaterialMatrix
Get/Set a Matrix used for scaling the material.
- Metallic
Specifies the amount of metallic finish for a surface.
- PenWidth
Returns the selected pen Width in Draing Units or in DPI depend on PenWidthTypeProp
- PenWidthTypeProp
Returns the selected pen width type.
- PrintingExtra
Internally used only.Get/Set the object that contains the overwite properties for this pen style object and only when printing.
- PrintingExtraWidth
Get/Set a value representing the extra width to apply to this linetype when printing.
- Reflection
Specifies the amount of mirrored finish for a surface.
- Refraction
Specifies the blending of the ray of light passing throw a transparency surface.
- Roughness
Specifies the amount of a spot light highlighting on a surface.
- Specular
Specifies the saturation to the light source's color around the brightest area (center) of the highlight
- Transmit
Specifies the amount of non-filtered light that is transmitted through a surface. AlphaBlending
- color
Get/Set the color of the linetype.
- gradientAngle
Get/Set the gradient direction angle in degrees.
- gradientColor2
Get/Set the gradient ending color
- gradientTypeProp
Get/Set the gradient fill type.
Methods
- AreEqualWidth(vdGdiPenStyle, vdGdiPenStyle)
Checks if the passed objects are equal.
- CopyFrom(vdGdiPenStyle)
Copies the passed object's properties to this object.
- CopyFrom(vdGdiPenStyle, bool)
Copies the passed object's properties to this object.
- CreateGradientFillBrush(vdRender, Rectangle)
Internally used only.
- CreateGradientFillBrush(vdRender, Box)
Internally used only.Update gradient internal values.
- DisposeGradientFillBrush()
Internally used only.
- Equals(object)
Checks if the passed object is a vdGdiPenStyle and if it is equal to this object.
- Equals(vdGdiPenStyle)
Checks if the passed vdGdiPenStyle object is equal to this one.
- FromArgb(byte, byte, byte)
Creates a System.Drawing.Color structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque).
- FromArgb(byte, byte, byte, byte)
Creates a System.Drawing.Color structure from the four ARGB component (alpha, red, green, and blue) values.
- FromArgb(byte, Color)
Creates a System.Drawing.Color structure from the specified System.Drawing.Color structure, but with the new specified alpha value.
- GetFinalColor(vdRender)
Translate a Color depend of the active ColorPalette and other render properties.
- GetGrayColor(Color)
Returns the nearest gray scale color of the input true color.
- GetHashCode()
Returns a 32-bit signed integer hash code for this object instance.
- GetPixelWidth(vdRender)
Calculates the pixel width to use to the passed vdRender object for this pen style.
- SetLwWidth(double, DoubleArray)
Set the width of the pen style in output device mm.
- SetStdWidth(double)
Set a standard width in drawing units for the pen style.
Operators
- operator ==(vdGdiPenStyle, vdGdiPenStyle)
Implements the == operator for two vdGdiPenStyle objects.
- operator !=(vdGdiPenStyle, vdGdiPenStyle)
Implemetns the != operator for two vdGdiPenStyle objects.