wdpapi
Version:
51WORLD WdpApi is a set of programming interfaces developed by JavaScript that is responsible for negotiating between web pages and cloud rendering platforms. Supported by 51Cloud rendering platform, it enables the users to create any HTML5 UI element on
71 lines (70 loc) • 1.8 kB
TypeScript
import { ResultType } from '../common/data-type';
/**
* @public
* @class VisualController
*/
declare class VisualController {
private apiClassName;
private obj;
/**
* @constructor
* @param {any} obj
*/
constructor(obj: any);
/**
* @public
* @async
* @function SetOutlineThickness
* @param {number} thickness
* @returns {Promise<ResultType>}
*/
SetOutlineThickness(thickness: number): Promise<ResultType>;
/**
* @public
* @async
* @function GetOutlineThickness
* @returns {Promise<ResultType>}
*/
GetOutlineThickness(): Promise<ResultType>;
/**
* @public
* @async
* @function SetVisualColorStyle
* @param {string} styleName
* @param {string} color
* @returns {Promise<ResultType>}
*/
SetVisualColorStyle(styleName: string, color: string): Promise<ResultType>;
/**
* @public
* @async
* @function GetVisualColorStyle
* @returns {Promise<ResultType>}
*/
GetVisualColorStyle(): Promise<ResultType>;
/**
* @public
* @async
* @function SetEntityOutline
* @param {{eids: Array<string>, bOutline?: boolean, styleName?: string}} opt
* @returns {Promise<ResultType>}
*/
SetEntityOutline(opt: {
eids: Array<string>;
bOutline?: boolean;
styleName?: string;
}): Promise<ResultType>;
/**
* @public
* @async
* @function SetEntityHighlight
* @param {{eids: Array<string>, bHighlight?: boolean, styleName?: string}} opt
* @returns {Promise<ResultType>}
*/
SetEntityHighlight(opt: {
eids: Array<string>;
bHighlight?: boolean;
styleName?: string;
}): Promise<ResultType>;
}
export default VisualController;