C# 클래스 Pinta.ImageManipulation.Effects.BrightnessContrastEffect

상속: BaseEffect
파일 보기 프로젝트 열기: PintaProject/Pinta.ImageManipulation 1 사용 예제들

공개 메소드들

메소드 설명
BrightnessContrastEffect ( int brightness, int contrast ) : System

Creates a new effect that will adjust the brightness and contrast of an image.

보호된 메소드들

메소드 설명
Render ( ColorBgra src, ColorBgra dst, int length ) : void

비공개 메소드들

메소드 설명
Calculate ( ) : void

메소드 상세

BrightnessContrastEffect() 공개 메소드

Creates a new effect that will adjust the brightness and contrast of an image.
public BrightnessContrastEffect ( int brightness, int contrast ) : System
brightness int Desired brightness of the image. Valid range is -100 - 100.
contrast int Desired contrast of the image. Valid range is -100 - 100.
리턴 System

Render() 보호된 메소드

protected Render ( ColorBgra src, ColorBgra dst, int length ) : void
src ColorBgra
dst ColorBgra
length int
리턴 void