Drag[en]gine Script Module DragonScript  1.23
Dragengine.Services.ServiceImage.Thumbnail Class Reference

Loadable service image thumbnail. More...

Inheritance diagram for Dragengine.Services.ServiceImage.Thumbnail:

Public Member Functions

Thumbnail new ()
 Create new instance of class Thumbnail. More...
 

Public Attributes

Image image
 Thumbnail image is null. More...
 
Point size
 Size of thumbnail. More...
 
String url
 URL from where the thumbnail can be loaded or null. More...
 

Detailed Description

Loadable service image thumbnail.

Thumbnails contain the size and url to load the thumbnail from. The same loading mechanims with ServiceImage itself.

Member Function Documentation

◆ new()

Thumbnail Dragengine.Services.ServiceImage.Thumbnail.new ( )

Create new instance of class Thumbnail.

Member Data Documentation

◆ image

Image Dragengine.Services.ServiceImage.Thumbnail.image

Thumbnail image is null.

If url is null the thumbnail image is stored directly.

◆ size

Point Dragengine.Services.ServiceImage.Thumbnail.size

Size of thumbnail.

◆ url

String Dragengine.Services.ServiceImage.Thumbnail.url

URL from where the thumbnail can be loaded or null.

If null loading the thumbnail by url is not supported and the image member is used instead.


The documentation for this class was generated from the following file: