C# Class Pinta.Core.Layer

Inheritance: ObservableObject
Mostrar archivo Open project: PintaProject/Pinta Class Usage Examples

Public Properties

Property Type Description
BlendModeProperty string
HiddenProperty string
NameProperty string
OpacityProperty string

Public Methods

Method Description
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

Method Details

ApplyTransform() public method

public ApplyTransform ( Matrix xform, Gdk.Size new_size ) : void
xform Matrix
new_size Gdk.Size
return void

Clear() public method

public Clear ( ) : void
return void

Crop() public method

public Crop ( Gdk rect, Path selection ) : void
rect Gdk
selection Cairo.Path
return void

Draw() public method

public Draw ( Context ctx ) : void
ctx Context
return void

Draw() public method

public Draw ( Context ctx, ImageSurface surface, double opacity, bool transform = true ) : void
ctx Context
surface Cairo.ImageSurface
opacity double
transform bool
return void

DrawWithOperator() public method

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
return void

FlipHorizontal() public method

public FlipHorizontal ( ) : void
return void

FlipVertical() public method

public FlipVertical ( ) : void
return void

HueSaturation() public method

public HueSaturation ( int hueDelta, int satDelta, int lightness ) : void
hueDelta int
satDelta int
lightness int
return void

Layer() public method

public Layer ( ) : System
return System

Layer() public method

public Layer ( ImageSurface surface ) : System
surface Cairo.ImageSurface
return System

Layer() public method

public Layer ( ImageSurface surface, bool hidden, double opacity, string name ) : System
surface Cairo.ImageSurface
hidden bool
opacity double
name string
return System

Resize() public method

public Resize ( int width, int height ) : void
width int
height int
return void

ResizeCanvas() public method

public ResizeCanvas ( int width, int height, Anchor anchor ) : void
width int
height int
anchor Anchor
return void

RotateDimensions() public static method

public static RotateDimensions ( Gdk originalSize, double angle ) : Gdk.Size
originalSize Gdk
angle double
return Gdk.Size

Property Details

BlendModeProperty public_oe static_oe property

public static string BlendModeProperty
return string

HiddenProperty public_oe static_oe property

public static string HiddenProperty
return string

NameProperty public_oe static_oe property

public static string NameProperty
return string

OpacityProperty public_oe static_oe property

public static string OpacityProperty
return string