C# Class Pinta.ImageManipulation.Effects.FragmentEffect

Inheritance: BaseEffect
Afficher le fichier Open project: PintaProject/Pinta.ImageManipulation Class Usage Examples

Méthodes publiques

Méthode Description
FragmentEffect ( int fragments = 4, int distance = 8, double rotation ) : System

Creates a new effect that makes an image look fragmented.

Méthodes protégées

Méthode Description
RenderLine ( ISurface src, ISurface dst, Rectangle rect ) : void

Private Methods

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

Method Details

FragmentEffect() public méthode

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.
Résultat System

RenderLine() protected méthode

protected RenderLine ( ISurface src, ISurface dst, Rectangle rect ) : void
src ISurface
dst ISurface
rect Rectangle
Résultat void