프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 LocalImageFilename ( this image, ArtworkType type ) : string | ||
image | this | |
type | ArtworkType | The Type of image to get |
리턴 | string |