osGetDrawStringSize
OSSLvector osGetDrawStringSize(string contentType, string text, string fontName, integer fontSize)
Returns a vector containing the horizontal and vertical dimensions in pixels of the specified text
Parameters
| Type | Name |
|---|---|
| string | contentType |
| string | text |
| string | fontName |
| integer | fontSize |
Energy
10
OpenSimulator extensions. Some are gated by threat level and a region may refuse them.
More in OSSL
string osDrawScaleTransform(string drawList, float x, float y)
float osMin(float a, float b)
list osGetPrimitiveParams(key prim, list rules)
vector osGetRegionSize()
void osLinkParticleSystem(integer linknumber, list rules)
string osDrawResetTransform(string drawList)
key osNpcCreate(string user, string name, vector position, string notecard, integer options)
void osLocalTeleportAgent(key agent, vector position, vector velocity, vector lookat, integer flags)