C# Класс Pinta.ImageManipulation.Effects.CloudsEffect

Наследование: BaseEffect
Показать файл Открыть проект

Открытые методы

Метод Описание
CloudsEffect ( int scale = 250, int power = 50, int seed, ColorBgra fromColor = newColorBgra(), ColorBgra toColor = newColorBgra(), BlendMode blendMode = BlendMode.Normal ) : System

Creates a new effect that will render clouds onto an image.

Защищенные методы

Метод Описание
RenderLine ( ISurface src, ISurface dst, Rectangle roi ) : void

Приватные методы

Метод Описание
CloudsEffect ( ) : System
Fade ( double t ) : double
Grad ( int hash, double x, double y ) : double
Noise ( byte ix, byte iy, double x, double y, byte seed ) : double
RenderClouds ( ISurface surface, Rectangle rect, int scale, byte seed, double power, ColorBgra colorFrom, ColorBgra colorTo ) : void

Описание методов

CloudsEffect() публичный Метод

Creates a new effect that will render clouds onto an image.
public CloudsEffect ( int scale = 250, int power = 50, int seed, ColorBgra fromColor = newColorBgra(), ColorBgra toColor = newColorBgra(), BlendMode blendMode = BlendMode.Normal ) : System
scale int The relative size of the clouds. Valid range is 2 - 1000.
power int The power of the clouds. Valid range is 0 - 100.
seed int Seed value for random generator.
fromColor ColorBgra Initial cloud color.
toColor ColorBgra Final cloud color.
blendMode BlendMode Blend mode to use when applying clouds.
Результат System

RenderLine() защищенный Метод

protected RenderLine ( ISurface src, ISurface dst, Rectangle roi ) : void
src ISurface
dst ISurface
roi Rectangle
Результат void