C# Class Pinta.ImageManipulation.Effects.FragmentEffect

Inheritance: BaseEffect
ファイルを表示 Open project: PintaProject/Pinta.ImageManipulation Class Usage Examples

Public Methods

Method Description
FragmentEffect ( int fragments = 4, int distance = 8, double rotation ) : System

Creates a new effect that makes an image look fragmented.

Protected Methods

Method Description
RenderLine ( ISurface src, ISurface dst, Rectangle rect ) : void

Private Methods

Method Description
RecalcPointOffsets ( int fragments, double rotationAngle, int distance ) : System.Point[]

Method Details

FragmentEffect() public method

Creates a new effect that makes an image look fragmented.
public FragmentEffect ( int fragments = 4, int distance = 8, double rotation ) : System
fragments int Number of fragments to apply. Valid range is 2 - 50.
distance int Distance between fragments. Valid range is 0 - 100.
rotation double Angle to apply.
return System

RenderLine() protected method

protected RenderLine ( ISurface src, ISurface dst, Rectangle rect ) : void
src ISurface
dst ISurface
rect Rectangle
return void