C# Class BrightIdeasSoftware.BarRenderer

Render our Aspect as a progress bar
Inheritance: BaseRenderer
Afficher le fichier Open project: soywiz/cspspemu

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
BarRenderer ( ) : System

Make a BarRenderer

BarRenderer ( Pen pen, Brush brush ) : System

Make a BarRenderer using a custom bar scheme

BarRenderer ( Pen pen, Color start, Color end ) : System

Make a BarRenderer that uses a horizontal gradient

BarRenderer ( int minimum, int maximum ) : System

Make a BarRenderer for the given range of data values

BarRenderer ( int minimum, int maximum, Pen pen, Brush brush ) : System

Make a BarRenderer using a custom bar scheme

BarRenderer ( int minimum, int maximum, Pen pen, Color start, Color end ) : System

Make a BarRenderer that uses a horizontal gradient

Render ( Graphics g, Rectangle r ) : void

Draw our aspect

SetGradient ( Color start, Color end ) : void

Draw this progress bar using a gradient

Méthodes protégées

Méthode Description
HandleGetEditRectangle ( Graphics g, Rectangle cellBounds, BrightIdeasSoftware.OLVListItem item, int subItemIndex, Size preferredSize ) : Rectangle

Handle the GetEditRectangle request

Method Details

BarRenderer() public méthode

Make a BarRenderer
public BarRenderer ( ) : System
Résultat System

BarRenderer() public méthode

Make a BarRenderer using a custom bar scheme
public BarRenderer ( Pen pen, Brush brush ) : System
pen System.Drawing.Pen
brush System.Drawing.Brush
Résultat System

BarRenderer() public méthode

Make a BarRenderer that uses a horizontal gradient
public BarRenderer ( Pen pen, Color start, Color end ) : System
pen System.Drawing.Pen
start Color
end Color
Résultat System

BarRenderer() public méthode

Make a BarRenderer for the given range of data values
public BarRenderer ( int minimum, int maximum ) : System
minimum int
maximum int
Résultat System

BarRenderer() public méthode

Make a BarRenderer using a custom bar scheme
public BarRenderer ( int minimum, int maximum, Pen pen, Brush brush ) : System
minimum int
maximum int
pen System.Drawing.Pen
brush System.Drawing.Brush
Résultat System

BarRenderer() public méthode

Make a BarRenderer that uses a horizontal gradient
public BarRenderer ( int minimum, int maximum, Pen pen, Color start, Color end ) : System
minimum int
maximum int
pen System.Drawing.Pen
start Color
end Color
Résultat System

HandleGetEditRectangle() protected méthode

Handle the GetEditRectangle request
protected HandleGetEditRectangle ( Graphics g, Rectangle cellBounds, BrightIdeasSoftware.OLVListItem item, int subItemIndex, Size preferredSize ) : Rectangle
g System.Drawing.Graphics
cellBounds System.Drawing.Rectangle
item BrightIdeasSoftware.OLVListItem
subItemIndex int
preferredSize System.Drawing.Size
Résultat System.Drawing.Rectangle

Render() public méthode

Draw our aspect
public Render ( Graphics g, Rectangle r ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
Résultat void

SetGradient() public méthode

Draw this progress bar using a gradient
public SetGradient ( Color start, Color end ) : void
start Color
end Color
Résultat void