C# Класс Pinta.Core.Layer

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

Открытые свойства

Свойство Тип Описание
BlendModeProperty string
HiddenProperty string
NameProperty string
OpacityProperty string

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

Метод Описание
ApplyTransform ( Matrix xform, Gdk.Size new_size ) : void
Clear ( ) : void
Crop ( Gdk rect, Path selection ) : void
Draw ( Context ctx ) : void
Draw ( Context ctx, ImageSurface surface, double opacity, bool transform = true ) : void
DrawWithOperator ( Context ctx, ImageSurface surface, Operator op, double opacity = 1.0, bool transform = true ) : void
FlipHorizontal ( ) : void
FlipVertical ( ) : void
HueSaturation ( int hueDelta, int satDelta, int lightness ) : void
Layer ( ) : System
Layer ( ImageSurface surface ) : System
Layer ( ImageSurface surface, bool hidden, double opacity, string name ) : System
Resize ( int width, int height ) : void
ResizeCanvas ( int width, int height, Anchor anchor ) : void
RotateDimensions ( Gdk originalSize, double angle ) : Gdk.Size

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

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

public ApplyTransform ( Matrix xform, Gdk.Size new_size ) : void
xform Matrix
new_size Gdk.Size
Результат void

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

public Clear ( ) : void
Результат void

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

public Crop ( Gdk rect, Path selection ) : void
rect Gdk
selection Cairo.Path
Результат void

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

public Draw ( Context ctx ) : void
ctx Context
Результат void

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

public Draw ( Context ctx, ImageSurface surface, double opacity, bool transform = true ) : void
ctx Context
surface Cairo.ImageSurface
opacity double
transform bool
Результат void

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

public DrawWithOperator ( Context ctx, ImageSurface surface, Operator op, double opacity = 1.0, bool transform = true ) : void
ctx Context
surface Cairo.ImageSurface
op Operator
opacity double
transform bool
Результат void

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

public FlipHorizontal ( ) : void
Результат void

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

public FlipVertical ( ) : void
Результат void

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

public HueSaturation ( int hueDelta, int satDelta, int lightness ) : void
hueDelta int
satDelta int
lightness int
Результат void

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

public Layer ( ) : System
Результат System

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

public Layer ( ImageSurface surface ) : System
surface Cairo.ImageSurface
Результат System

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

public Layer ( ImageSurface surface, bool hidden, double opacity, string name ) : System
surface Cairo.ImageSurface
hidden bool
opacity double
name string
Результат System

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

public Resize ( int width, int height ) : void
width int
height int
Результат void

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

public ResizeCanvas ( int width, int height, Anchor anchor ) : void
width int
height int
anchor Anchor
Результат void

RotateDimensions() публичный статический Метод

public static RotateDimensions ( Gdk originalSize, double angle ) : Gdk.Size
originalSize Gdk
angle double
Результат Gdk.Size

Описание свойств

BlendModeProperty публичное статическое свойство

public static string BlendModeProperty
Результат string

HiddenProperty публичное статическое свойство

public static string HiddenProperty
Результат string

NameProperty публичное статическое свойство

public static string NameProperty
Результат string

OpacityProperty публичное статическое свойство

public static string OpacityProperty
Результат string