IT. Expert System.

PHP

Define a text string


swf_definetext

(PHP 4)

swf_definetextDefine a text string

Description

void swf_definetext ( int $objid , string $str , int $docenter )

Defines a text string using the current font and font size.

Parameters

objid

The object id.

str

The text, as a string.

docenter

The docenter is where the word is centered, if docenter is 1, then the word is centered in x.

Return Values

No value is returned.

Examples

Example #1 Horizontal text example

<?php

$Xposition 
50;
$Yposition 50;
$Zposition 0;
$Obj_depth 1;

$char 'THIS IS THE TEXT';

swf_pushmatrix();

swf_definefont (swf_nextid(), "Mod");
swf_fontsize(10);

$secondid swf_nextid();
swf_definetext($secondid$char1);
swf_translate($Xposition$YpositionZposition);
swf_placeobject($secondid$Obj_depth);
swf_popmatrix();

?>

See Also



Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1254 / 248551626. Delta: 0.09676 с