User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_rendererabstract.rendershieldtexture_tobject_boolean_tpoint_tobject

Table of Contents

TGIS_RendererAbstract.RenderShieldTexture(TObject, bool, TPoint, TObject) method

DK11 for Java | tatukgis.jdk.TGIS_RendererAbstract.RenderShieldTexture | Overloads | Fields | Methods | Properties

Render texture shield (label + chart + whatever) for 3D viewer purposes

Available also on: Delphi | .NET | ActiveX.

Syntax

// Java
public TGIS_Bitmap RenderShieldTexture(
  TObject _shp,
  bool _force_pow2,
  TPoint _size,
  TObject _layout
);
// Oxygene
public
  function RenderShieldTexture(
    _shp : TObject;
    _force_pow2 : Boolean;
    _size : TPoint;
    _layout : TObject
  ) : TGIS_Bitmap; virtual;

Parameters

Name Type Description
_shp TObject shape for which shield must be rendered
_force_pow2 bool
Boolean
If true size of resulting bitmaps is always power of 2 because some 3D engine requires it
_size TPoint actual active size of shield within bitmap which can be power 2 sized
_layout TObject label layout allocated by MeasureShieldTexture; this method will release this object

Result

Type Description
TGIS_Bitmap Newly created bitmap or nil.
2018/02/17 00:18