C# 클래스 BrightIdeasSoftware.BarRenderer

Render our Aspect as a progress bar
상속: BaseRenderer
파일 보기 프로젝트 열기: soywiz/cspspemu

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
HandleGetEditRectangle ( Graphics g, Rectangle cellBounds, BrightIdeasSoftware.OLVListItem item, int subItemIndex, Size preferredSize ) : Rectangle

Handle the GetEditRectangle request

메소드 상세

BarRenderer() 공개 메소드

Make a BarRenderer
public BarRenderer ( ) : System
리턴 System

BarRenderer() 공개 메소드

Make a BarRenderer using a custom bar scheme
public BarRenderer ( Pen pen, Brush brush ) : System
pen System.Drawing.Pen
brush System.Drawing.Brush
리턴 System

BarRenderer() 공개 메소드

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
리턴 System

BarRenderer() 공개 메소드

Make a BarRenderer for the given range of data values
public BarRenderer ( int minimum, int maximum ) : System
minimum int
maximum int
리턴 System

BarRenderer() 공개 메소드

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
리턴 System

BarRenderer() 공개 메소드

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
리턴 System

HandleGetEditRectangle() 보호된 메소드

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
리턴 System.Drawing.Rectangle

Render() 공개 메소드

Draw our aspect
public Render ( Graphics g, Rectangle r ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
리턴 void

SetGradient() 공개 메소드

Draw this progress bar using a gradient
public SetGradient ( Color start, Color end ) : void
start Color
end Color
리턴 void