C# Class UniversalImageScaler.Models.OutputSet

Inheritance: ModelBase
Exibir arquivo Open project: spadapet/universal-image-scaler Class Usage Examples

Public Methods

Method Description
AddImage ( OutputImage image ) : void
GetScaledHeight ( double scale ) : double
GetScaledPath ( double scale ) : string
GetScaledWidth ( double scale ) : double
GetTargetSizePath ( double targetSize, bool unplated ) : string
Initialize ( ) : void
OutputSet ( SourceImage owner, string name ) : System
OutputSet ( SourceImage owner, string name, double width, double height ) : System

Private Methods

Method Description
OnImagePropertyChanged ( object sender, PropertyChangedEventArgs args ) : void
OnOwnerPropertyChanged ( object sender, PropertyChangedEventArgs args ) : void
SetGenerate ( bool value, bool updateImages ) : void
UpdateGenerate ( ) : void
UpdateImageGenerate ( ) : void
UpdateSize ( ) : void

Method Details

AddImage() public method

public AddImage ( OutputImage image ) : void
image OutputImage
return void

GetScaledHeight() public method

public GetScaledHeight ( double scale ) : double
scale double
return double

GetScaledPath() public method

public GetScaledPath ( double scale ) : string
scale double
return string

GetScaledWidth() public method

public GetScaledWidth ( double scale ) : double
scale double
return double

GetTargetSizePath() public method

public GetTargetSizePath ( double targetSize, bool unplated ) : string
targetSize double
unplated bool
return string

Initialize() public method

public Initialize ( ) : void
return void

OutputSet() public method

public OutputSet ( SourceImage owner, string name ) : System
owner SourceImage
name string
return System

OutputSet() public method

public OutputSet ( SourceImage owner, string name, double width, double height ) : System
owner SourceImage
name string
width double
height double
return System