BCGControlBar Library for .NET
DrawManager Class Members
Fields  Properties  Methods 


The following tables list the members exposed by DrawManager.

Public Constructors
 NameDescription
Public ConstructorDrawManager Constructor  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)PISpecifies a PI number.  
Top
Protected Fields
 NameDescription
Protected Fieldm_graphics  
Protected Fieldstatic (Shared in Visual Basic)m_PatternBrush  
Top
Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)PatternBrushReturns a logical brush with the specified bitmap pattern.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)BitmapFromGraphicsCreates a System.Drawing.Bitmap object from the specified graphics with specified boundaries.  
Public Methodstatic (Shared in Visual Basic)ColorMakeDarker  
Public Methodstatic (Shared in Visual Basic)ColorMakeLighter  
Public Methodstatic (Shared in Visual Basic)ColorMakePale  
Public Methodstatic (Shared in Visual Basic)CreateDisabledImageCalled by the framework to create disabled image on disabled buttons on command bars, disabled markers of the SDManager.  
Public Methodstatic (Shared in Visual Basic)CreateFadedImageCreates a faded image from the specified bitmap.  
Public Methodstatic (Shared in Visual Basic)CreateGrayscaleImage  
Public Methodstatic (Shared in Visual Basic)CreateShadowImageCalled by the framework to create a shadow bitmap.  
Public MethodDisposeOverloaded.   
Public MethodDraw3dRectDraws a three-dimentional (3-D) rectangle specified by the boundaries rectangle, the color of upper-left and bottom-right borders.  
Public Methodstatic (Shared in Visual Basic)DrawDragRectOverloaded. Called by the framework on dragging  a control to draw a dragging rectangle around it.  
Public MethodDrawGradientRingCall this function to display a ring filled by the gradient color. The width and height of the specified rectangle must be greater than 4 pixels.  
Public MethodDrawImageRotated  
Public Methodstatic (Shared in Visual Basic)DrawRoundedRectDraws a rectangle with rounded corners.  
Public MethodDrawShadowCall this function to display the shadow for a rectangular screen element. The shadow has the right and bottom images.  
Public MethodFill4ColorsGradientCall this function to fill a rectangular area with the gradient which contains four colors.  
Public MethodFillGradientOverloaded. Call this function to fill the specified area with the gradient color.  
Public MethodFillGradient2Call this member function to fill a rectangular area with the gradient color in the direction specified by nAngel.  The nAngel value should be in the interval [0 - 360].  
Public Methodstatic (Shared in Visual Basic)GetInterlaceColor  
Public MethodHighlightRect

Call this member function to highlight a rectangular area.

 
Public Methodstatic (Shared in Visual Basic)HLStoRGB_ONETranslates the color value from HLS to RGB.  
Public Methodstatic (Shared in Visual Basic)HLStoRGB_TWOTranslates the color value from HLS to RGB.  
Public Methodstatic (Shared in Visual Basic)HSVtoRGBTranslates the color value from HSV to RGB.  
Public Methodstatic (Shared in Visual Basic)HuetoRGBMakes a conversion from Hue to RGB color model.  
Public Methodstatic (Shared in Visual Basic)HueToRGBMakes a conversion from Hue to RGB color model.  
Public Methodstatic (Shared in Visual Basic)IsDarkColor  
Public Methodstatic (Shared in Visual Basic)IsLightColor  
Public Methodstatic (Shared in Visual Basic)IsPaleColor  
Public Methodstatic (Shared in Visual Basic)MakeHue_ONE  
Public Methodstatic (Shared in Visual Basic)PixelAlphaOverloaded. Makes alpha blending for a current color.  
Public Methodstatic (Shared in Visual Basic)PrepareShadowBitmapCreates a bitmap to draw a shadow.  
Public Methodstatic (Shared in Visual Basic)PrepareShadowMask  
Public Methodstatic (Shared in Visual Basic)PrepareShadowMaskEx  
Public Methodstatic (Shared in Visual Basic)RGBtoHSLTranslates the color value from RGB to HSL.  
Public Methodstatic (Shared in Visual Basic)RGBtoHSVTranslates the color value from RGB to HSV.  
Public Methodstatic (Shared in Visual Basic)SetAlphaPixelSets the alpha blending to the specified point of the bitmap.  
Public Methodstatic (Shared in Visual Basic)SmartMixColorsMixes to colors by the specified algorithm.  
Top
See Also

Reference

DrawManager Class
BCGSoft.Shared Namespace

Send Feedback