cadetill's blog | Copyright © Xavier Martínez (cadetill)

# Class TGMTransform

Description
Hierarchy
Fields
Methods
Properties

## Unit

GMLib.Transform

## Declaration

`type TGMTransform = class(TObject)`

## Description

Contains methods of transformations.

## Hierarchy

- TObject
- TGMTransform

## Overview

### Methods

| `class function APILangToStr(Value: TGMAPILang): string;`
| `class function APIRegionToStr(Value: TGMAPIRegion): string;`
| `class function APIVerToStr(Value: TGMAPIVer): string;`
| `class function GestureHandlingToStr(Value: TGMGestureHandling): string;`
| `class function GetStrToDouble(Value: string): Double;`
| `class function GetStrToInteger(Value: string; Default: Integer = 0): Integer;`
| `class function GMBoolToStr(Value: Boolean; UseBoolStrs: Boolean = False): string;`
| `class function MapTypeControlStyleToStr(Value: TGMMapTypeControlStyle): string;`
| `class function MapTypeIdsToStr(Values: TGMMapTypeIds; Delimiter: Char = ';'): string;`
| `class function MapTypeIdToStr(Value: TGMMapTypeId): string;`
| `class function PositionToStr(Value: TGMControlPosition): string;`
| `class function ScaleControlStyleToStr(Value: TGMScaleControlStyle): string;`
| `class function StrToAPILang(Value: string): TGMAPILang;`
| `class function StrToAPIRegion(Value: string): TGMAPIRegion;`
| `class function StrToAPIVer(Value: string): TGMAPIVer;`
| `class function StrToGestureHandling(Value: string): TGMGestureHandling;`
| `class function StrToLang(Value: string): TGMLang;`
| `class function StrToMapTypeControlStyle(Value: string): TGMMapTypeControlStyle;`
| `class function StrToMapTypeId(Value: string): TGMMapTypeId;`
| `class function StrToPosition(Value: string): TGMControlPosition;`
| `class function StrToScaleControlStyle(Value: string): TGMScaleControlStyle;`

## Description

### Methods

| `class function APILangToStr(Value: TGMAPILang): string;`
Returns a string that represents the `APILang`. ###### Parameters Value TGMAPILang to convert to string ###### Returns string with the `APILang`

| `class function APIRegionToStr(Value: TGMAPIRegion): string;`
Returns a string that represents the `APIRegion`. ###### Parameters Value TGMAPIRegion to convert to string ###### Returns string with the `APIRegion`

| `class function APIVerToStr(Value: TGMAPIVer): string;`
Returns a string that represents the `APIVer`. ###### Parameters Value TGMAPIVer to convert to string ###### Returns string with the `APIVer`

| `class function GestureHandlingToStr(Value: TGMGestureHandling): string;`
Returns a string that represents the GestureHandling. ###### Parameters Value TGMGestureHandling to convert to string. ###### Returns string with the GestureHandling value.

| `class function GetStrToDouble(Value: string): Double;`
Returns the double value represented by `Value` string. If Value don't contains a double value, returns 0. ###### Parameters Value Value to convert. ###### Returns Double value.

| `class function GetStrToInteger(Value: string; Default: Integer = 0): Integer;`
Returns the integer value represented by `Value` string. If Value don't contains a integer value, returns `Default` value. ###### Parameters Value Value to convert. Default Default value to return. ###### Returns Integer value.

| `class function GMBoolToStr(Value: Boolean; UseBoolStrs: Boolean = False): string;`
Returns a string that represents a boolean value. This function have sense because some people have localized the original Delphi function. ###### Parameters Value Boolean value to convert. UseBoolStrs If `true`, returns a string value with "true" or "false" values, else returns "0" or "-1". ###### Returns string that represents the boolean value.

| `class function MapTypeControlStyleToStr(Value: TGMMapTypeControlStyle): string;`
Returns a string that represents the MapTypeControlStyle. ###### Parameters Value TGMMapTypeControlStyle to convert to string. ###### Returns string with the MapTypeControlStyle value.

| `class function MapTypeIdsToStr(Values: TGMMapTypeIds; Delimiter: Char = ';'): string;`
Returns a string with the MapTypeId included into Values and separated by Delimiter. ###### Parameters Values TGMMapTypeIds to convert to string. Delimiter Delimiter between MapTypeId. ###### Returns string with the MapTypeIds value.

| `class function MapTypeIdToStr(Value: TGMMapTypeId): string;`
Returns a string that represents the MapTypeId. ###### Parameters Value `TMapTypeId` to convert to string. ###### Returns string with the MapTypeId value.

| `class function PositionToStr(Value: TGMControlPosition): string;`
Returns a string that represents the Position. ###### Parameters Value TGMControlPosition to convert to string. ###### Returns string with the Position value.

| `class function ScaleControlStyleToStr(Value: TGMScaleControlStyle): string;`
Returns a string that represents the ScaleControlStyle. ###### Parameters Value TGMScaleControlStyle to convert to string. ###### Returns string with the ScaleControlStyle.

| `class function StrToAPILang(Value: string): TGMAPILang;`
Returns the TGMAPILang represented by the string Value. ###### Parameters Value string to convert to TGMAPILang. ###### Returns TGMAPILang that represents the string.

| `class function StrToAPIRegion(Value: string): TGMAPIRegion;`
Returns the TGMAPIRegion represented by the string Value. ###### Parameters Value string to convert to TGMAPIRegion. ###### Returns TGMAPIRegion that represents the string.

| `class function StrToAPIVer(Value: string): TGMAPIVer;`
Returns the TGMAPIVer represented by the string Value. ###### Parameters Value string to convert to TGMAPIVer. ###### Returns TGMAPIVer that represents the string.

| `class function StrToGestureHandling(Value: string): TGMGestureHandling;`
Returns the TGMGestureHandling represented by the string Value. ###### Parameters Value string to convert to TGMGestureHandling. ###### Returns TGMGestureHandling that represents the string.

| `class function StrToLang(Value: string): TGMLang;`
Returns the TGMLang represented by the string Value. ###### Parameters Value string to convert to TGMLang. ###### Returns TGMLang that represents the string.

| `class function StrToMapTypeControlStyle(Value: string): TGMMapTypeControlStyle;`
Returns the TGMMapTypeControlStyle represented by the string Value. ###### Parameters Value string to convert to TGMMapTypeControlStyle. ###### Returns TGMMapTypeControlStyle that represents the string.

| `class function StrToMapTypeId(Value: string): TGMMapTypeId;`
Returns the TGMMapTypeId represented by the string Value. ###### Parameters Value string to convert to TGMMapTypeId. ###### Returns TGMMapTypeId that represents the string.

| `class function StrToPosition(Value: string): TGMControlPosition;`
Returns the TGMControlPosition represented by the string Value. ###### Parameters Value string to convert to TGMControlPosition. ###### Returns TGMControlPosition that represents the string.

| `class function StrToScaleControlStyle(Value: string): TGMScaleControlStyle;`
Returns the TGMScaleControlStyle represented by the string Value. ###### Parameters Value string to convert to TGMScaleControlStyle. ###### Returns TGMScaleControlStyle that represents the string.

Generated by PasDoc 0.15.0.