MemoryImage
to be casted to DibImage
and destroyed explicitly to reduce GDI Object usage.
Old: public MemoryImage loadOldGMaterial3DThumbnail(Url url, gmThumbnailType thumbnailType=gmThumbnailType.flat) { New: public DibImage loadOldGMaterial3DThumbnail(Url url, gmThumbnailType thumbnailType=gmThumbnailType.flat) {
Since getThumbnail(memoryStream)
return a DibImage
now, return it as a DibImage
in loadDexGMThumbnail()
.
Old: public Image loadDexGMThumbnail(Url url, gmThumbnailType thumbnailType=gmThumbnailType.flat) { New: public DibImage loadDexGMThumbnail(Url url, gmThumbnailType thumbnailType=gmThumbnailType.flat) {
Match loadOldGMaterial3DThumbnail()
and loadDexGMThumbnail()
change to return DibImage.
Old: public Image loadGMaterial3DThumbnail(Url url, gmThumbnailType thumbnailType=gmThumbnailType.flat) { New: public DibImage loadGMaterial3DThumbnail(Url url, gmThumbnailType thumbnailType=gmThumbnailType.flat) {
The following new fields fontWeight wght
, bool italic
, and bool underline
have been added. As such, a constructor has been updated to set these fields.
public class Text3D extends Primitive3D { Old: public constructor(str text, float height, float thickness, str fontFace, LayerExpr layer=null) { New: public constructor(str text, float height, float thickness, str fontFace, fontWeight wght=fontWeight.normal, bool italic=false, bool underline=false, LayerExpr layer=null) { }