User Tools

Site Tools


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

Table of Contents

TGIS_RendererAbstract.CanvasFontMetrics method

DK11 for Java | tatukgis.jdk.TGIS_RendererAbstract.CanvasFontMetrics | Fields | Methods | Properties

Provide basing metric for a currently selected CanvasFont.

Available also on: Delphi | .NET | ActiveX.

Syntax

// Java
public abstract void CanvasFontMetrics(
  /* ref */ @ValueTypeParameter VarParameter<char> _break_char,
  /* ref */ @ValueTypeParameter VarParameter<int> _height,
  /* ref */ @ValueTypeParameter VarParameter<int> _ascent,
  /* ref */ @ValueTypeParameter VarParameter<bool> _true_type
);
// Oxygene
public
  procedure CanvasFontMetrics(
    var _break_char : Char;
    var _height : Integer;
    var _ascent : Integer;
    var _true_type : Boolean
  ); virtual; abstract;

Parameters

Name Type Description
_break_char char
Char
character treated as a break character (space)
_height int
Integer
font height in pixels
_ascent int
Integer
font ascent size in pixels
_true_type bool
Boolean
true, if font is TrueType or equivalent (scalable as vector)
2018/02/17 00:18