translate Method

Summary

Translates the local object in view port space by the provided values.

Syntax

TypeScript
JavaScript
Cell3D.prototype.translate = function( 
   x , 
   y  
) 
   translate(x: number, y: number): void; 

Parameters

x

A number value that references the X-axis translation.

y

A number value that references the Y-axis translation.

Remarks

To translate in a 3D space, use either the zoomBy method or edit the matrix directly.

Requirements

Target Platforms

See Also

Cell3D

Cell3D Members

Leadtools.Controls.Medical Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.