C# 클래스 ImageProcessor.Processors.Watermark

Encapsulates methods to add a watermark text overlay to an image.
상속: IGraphicsProcessor
파일 보기 프로젝트 열기: JimBobSquarePants/ImageProcessor 1 사용 예제들

공개 메소드들

메소드 설명
ProcessImage ( ImageFactory factory ) : Image

Processes the image.

Watermark ( ) : System

Initializes a new instance of the Watermark class.

비공개 메소드들

메소드 설명
GetFlags ( ImageProcessor.Imaging.TextLayer textLayer ) : StringFormatFlags?

Returns the correct flags for the given text layer.

GetFont ( FontFamily fontFamily, int fontSize, FontStyle fontStyle ) : Font

Returns the correct T:System.Drawing.Font for the given parameters.

GetRotateFlipType ( ImageFactory factory ) : RotateFlipType?

Gets the correct Nullable{RotateFlipType} to ensure that the watermarked image is correct orientation when the watermark is applied.

메소드 상세

ProcessImage() 공개 메소드

Processes the image.
public ProcessImage ( ImageFactory factory ) : Image
factory ImageFactory /// The current instance of the class containing /// the image to process. ///
리턴 Image

Watermark() 공개 메소드

Initializes a new instance of the Watermark class.
public Watermark ( ) : System
리턴 System