C# 클래스 Pinta.Core.RecolorTool

상속: BaseBrushTool
파일 보기 프로젝트 열기: xxgreg/Pinta

보호된 프로퍼티들

프로퍼티 타입 설명
tolerance_label ToolBarLabel
tolerance_slider Pinta.Core.ToolBarSlider

공개 메소드들

메소드 설명
RecolorTool ( ) : System

보호된 메소드들

메소드 설명
OnBuildToolBar ( Gtk tb ) : void
OnMouseDown ( Gtk.DrawingArea canvas, ButtonPressEventArgs args, PointD point ) : void
OnMouseMove ( object o, Gtk args, Cairo point ) : void

비공개 메소드들

메소드 설명
AdjustColorByte ( byte oldByte, byte newByte, byte basisByte ) : byte
AdjustColorDifference ( ColorBgra oldColor, ColorBgra newColor, ColorBgra basisColor ) : ColorBgra
CheckColor ( ColorBgra a, ColorBgra b, int tolerance ) : bool
IsColorInTolerance ( ColorBgra colorA, ColorBgra colorB ) : bool

메소드 상세

OnBuildToolBar() 보호된 메소드

protected OnBuildToolBar ( Gtk tb ) : void
tb Gtk
리턴 void

OnMouseDown() 보호된 메소드

protected OnMouseDown ( Gtk.DrawingArea canvas, ButtonPressEventArgs args, PointD point ) : void
canvas Gtk.DrawingArea
args ButtonPressEventArgs
point Cairo.PointD
리턴 void

OnMouseMove() 보호된 메소드

protected OnMouseMove ( object o, Gtk args, Cairo point ) : void
o object
args Gtk
point Cairo
리턴 void

RecolorTool() 공개 메소드

public RecolorTool ( ) : System
리턴 System

프로퍼티 상세

tolerance_label 보호되어 있는 프로퍼티

protected ToolBarLabel,Pinta.Core tolerance_label
리턴 ToolBarLabel

tolerance_slider 보호되어 있는 프로퍼티

protected ToolBarSlider,Pinta.Core tolerance_slider
리턴 Pinta.Core.ToolBarSlider