Свойство | Тип | Описание | |
---|---|---|---|
GetDefaultPoster | string | ||
GetRatingOverlay | RatingOverlayImage |
Метод | Описание | |
---|---|---|
DownloadImage ( string url, string localFile ) : bool |
Download an image if it does not exist locally
|
|
DrawOverlayOnAvatar ( string origAvartar, RatingOverlayImage ratingType, |
Draws a trakt overlay, rating icon on a poster This is done in memory and wont touch the existing file
|
|
DrawOverlayOnEpisodeThumb ( string origThumb, MainOverlayImage mainType, RatingOverlayImage ratingType, |
Draws a trakt overlay, library/seen/watchlist icon on a episode thumb This is done in memory and wont touch the existing file
|
|
DrawOverlayOnPoster ( string origPoster, MainOverlayImage mainType, RatingOverlayImage ratingType ) : |
||
DrawOverlayOnPoster ( string origPoster, MainOverlayImage mainType, RatingOverlayImage ratingType, |
Draws a trakt overlay, library/seen/watchlist icon on a poster This is done in memory and wont touch the existing file
|
|
GetTextureIdentFromFile ( string filename ) : string |
Gets a MediaPortal texture identifier from filename
|
|
GetTextureIdentFromFile ( string filename, string suffix ) : string | ||
LoadFanart ( TraktPlugin.GUI.ImageSwapper backdrop, string filename ) : void | ||
LoadImage ( string file ) : Image |
Loads an image FAST from file
|
|
LocalImageFilename ( this image, ArtworkType type ) : string |
Gets the local filename of an image from a Trakt URL
|
|
ToClearUrl ( this url ) : string |
Cleans a uri such that a friendly file system name can be derived
|
Метод | Описание | |
---|---|---|
GetDefaultPoster ( bool largePoster = true ) : string |
Returns the default Poster to display in the facade
|
|
GetRatingOverlay ( int userRating ) : RatingOverlayImage |
Get a overlay for images that represent a users rating
|
public static DownloadImage ( string url, string localFile ) : bool | ||
url | string | Online URL of image to download |
localFile | string | Local filename to save image |
Результат | bool |
public static DrawOverlayOnAvatar ( string origAvartar, RatingOverlayImage ratingType, |
||
origAvartar | string | |
ratingType | RatingOverlayImage | |
size | Size of returned image | |
Результат |
public static DrawOverlayOnEpisodeThumb ( string origThumb, MainOverlayImage mainType, RatingOverlayImage ratingType, |
||
origThumb | string | Filename of the untouched episode thumb |
mainType | MainOverlayImage | |
ratingType | RatingOverlayImage | |
size | Size of returned image | |
Результат |
public static DrawOverlayOnPoster ( string origPoster, MainOverlayImage mainType, RatingOverlayImage ratingType ) : |
||
origPoster | string | |
mainType | MainOverlayImage | |
ratingType | RatingOverlayImage | |
Результат |
public static DrawOverlayOnPoster ( string origPoster, MainOverlayImage mainType, RatingOverlayImage ratingType, |
||
origPoster | string | Filename of the untouched poster |
mainType | MainOverlayImage | |
ratingType | RatingOverlayImage | |
size | Size of returned image | |
Результат |
public static GetTextureIdentFromFile ( string filename ) : string | ||
filename | string | Filename to generate texture |
Результат | string |
public static GetTextureIdentFromFile ( string filename, string suffix ) : string | ||
filename | string | |
suffix | string | |
Результат | string |
public static LoadFanart ( TraktPlugin.GUI.ImageSwapper backdrop, string filename ) : void | ||
backdrop | TraktPlugin.GUI.ImageSwapper | |
filename | string | |
Результат | void |
public static LoadImage ( string file ) : Image | ||
file | string | |
Результат | Image |
public static LocalImageFilename ( this image, ArtworkType type ) : string | ||
image | this | |
type | ArtworkType | The Type of image to get |
Результат | string |
public static ToClearUrl ( this url ) : string | ||
url | this | |
Результат | string |