Exemplo n.º 1
0
 /// <summary>
 /// Displays items vertically in a legend.
 /// </summary>
 protected void _positionLegendItems(Y_.Array items, Y_.DataType_.Number maxWidth, Y_.DataType_.Number maxHeight, Y_.DataType_.Number totalWidth, Y_.DataType_.Number totalHeight, Y_.DataType_.Number padding, Y_.DataType_.Number horizontalGap, Y_.DataType_.Number verticalGap, object hAlign, object vAlign){}
Exemplo n.º 2
0
 /// <summary>
 /// Applies a schema to an array of data, returning a normalized object
 /// with results in the `results` property. The `meta` property of the
 /// response object is present for consistency, but is assigned an empty
 /// object.  If the input data is absent or not an array, an `error`
 /// property will be added.
 /// The input array is expected to contain objects, arrays, or strings.
 /// If _schema_ is not specified or _schema.resultFields_ is not an array,
 /// `response.results` will be assigned the input array unchanged.
 /// When a _schema_ is specified, the following will occur:
 /// If the input array contains strings, they will be copied as-is into the
 /// `response.results` array.
 /// If the input array contains arrays, `response.results` will contain an
 /// array of objects with key:value pairs assuming the fields in
 /// _schema.resultFields_ are ordered in accordance with the data array
 /// values.
 /// If the input array contains objects, the identified
 /// _schema.resultFields_ will be used to extract a value from those
 /// objects for the output result.
 /// _schema.resultFields_ field identifiers are objects with the following properties:
 /// * `key`   : <strong>(required)</strong> The locator name (String)
 /// * `parser`: A function or the name of a function on `Y.Parsers` used
 /// to convert the input value into a normalized type.  Parser
 /// functions are passed the value as input and are expected to
 /// return a value.
 /// If no value parsing is needed, you can use strings as identifiers
 /// instead of objects (see example below).
 /// </summary>
 public object apply(Y_.Array data){return null;}
 /// <summary>
 /// AOP method, invoked after the host's _uiScrollTo method,
 /// to position and resize the scroll bars
 /// </summary>
 protected void _update(Y_.DataType_.Number x, Y_.DataType_.Number y, Y_.DataType_.Number duration, object easing){}
Exemplo n.º 4
0
 /// <summary>
 /// Draws a line segment using the current line style from the current drawing position to the specified x and y coordinates.
 /// </summary>
 public void lineTo(Y_.DataType_.Number point1, Y_.DataType_.Number point2){}
Exemplo n.º 5
0
 /// <summary>
 /// Draws a quadratic bezier curve.
 /// </summary>
 public void quadraticCurveTo(Y_.DataType_.Number cpx, Y_.DataType_.Number cpy, Y_.DataType_.Number x, Y_.DataType_.Number y){}
Exemplo n.º 6
0
 /// <summary>
 /// Draws a circle. Used internally by `CanvasCircle` class.
 /// </summary>
 protected void drawCircle(Y_.DataType_.Number x, Y_.DataType_.Number y, Y_.DataType_.Number r){}
Exemplo n.º 7
0
 /// <summary>
 /// Draws an ellipse.
 /// </summary>
 protected void drawEllipse(Y_.DataType_.Number x, Y_.DataType_.Number y, Y_.DataType_.Number w, Y_.DataType_.Number h){}
Exemplo n.º 8
0
 /// <summary>
 /// Converts a radian value to a degree.
 /// </summary>
 public Y_.DataType_.Number rad2deg(Y_.DataType_.Number rad){return null;}
Exemplo n.º 9
0
 /// <summary>
 /// Multiplies a matrix by a numeric value.
 /// </summary>
 public Y_.Array scalarMultiply(Y_.Array matrix, Y_.DataType_.Number multiplier){return null;}
Exemplo n.º 10
0
 public NodeList slice(Y_.DataType_.Number begin, Y_.DataType_.Number end){return null;}
Exemplo n.º 11
0
 public NodeList splice(Y_.DataType_.Number index, Y_.DataType_.Number howMany){return null;}
Exemplo n.º 12
0
 /// <summary>
 /// Retrieves the Node instance at the given index.
 /// </summary>
 public Node item(Y_.DataType_.Number index){return null;}
Exemplo n.º 13
0
 /// <summary>
 /// Returns the starting y-coordinate for a column of legend items.
 /// </summary>
 protected Y_.DataType_.Number getStartPoint(Y_.DataType_.Number h, Y_.DataType_.Number totalHeight, object align, object padding){return null;}
Exemplo n.º 14
0
 /// <summary>
 /// Creates column and total height arrays used for displaying multiple columns of
 /// legend items based on the items, available height and verticalGap for the legend.
 /// </summary>
 protected void _setColumnArrays(Y_.Array items, Y_.DataType_.Number limit, Y_.DataType_.Number verticalGap){}
Exemplo n.º 15
0
 /// <summary>
 /// Returns a matrix of minors based on a matrix, column index and row index.
 /// </summary>
 public Y_.Array getMinors(Y_.Array matrix, Y_.DataType_.Number columnIndex, Y_.DataType_.Number rowIndex){return null;}
Exemplo n.º 16
0
 /// <summary>
 /// Returns the sign of value
 /// </summary>
 public Y_.DataType_.Number sign(Y_.DataType_.Number val){return null;}
Exemplo n.º 17
0
 /// <summary>
 /// Draws a bezier curve.
 /// </summary>
 public void curveTo(Y_.DataType_.Number cp1x, Y_.DataType_.Number cp1y, Y_.DataType_.Number cp2x, Y_.DataType_.Number cp2y, Y_.DataType_.Number x, Y_.DataType_.Number y){}
Exemplo n.º 18
0
 /// <summary>
 /// Starts the upload of the files specified in the first argument, using an automated queue.
 /// </summary>
 public void uploadThese(Y_.Array files, object url, object postVars){}
Exemplo n.º 19
0
 /// <summary>
 /// Draws a diamond.
 /// </summary>
 protected void drawDiamond(Y_.DataType_.Number x, Y_.DataType_.Number y, Y_.DataType_.Number width, Y_.DataType_.Number height){}
Exemplo n.º 20
0
 /// <summary>
 /// Multiplies a vector and a matrix
 /// </summary>
 public Y_.Array vectorMatrixProduct(Y_.Array vector, Y_.Array matrix){return null;}
Exemplo n.º 21
0
 /// <summary>
 /// Draws a rectangle with rounded corners.
 /// </summary>
 public void drawRect(Y_.DataType_.Number x, Y_.DataType_.Number y, Y_.DataType_.Number w, Y_.DataType_.Number h, Y_.DataType_.Number ew, Y_.DataType_.Number eh){}
Exemplo n.º 22
0
 /// <summary>
 /// Compares to arrays or transform functions to ensure both contain the same functions in the same
 /// order.
 /// </summary>
 public object compareTransformSequence(Y_.Array list1, Y_.Array list2){return null;}
Exemplo n.º 23
0
 /// <summary>
 /// Moves the current drawing position to specified x and y coordinates.
 /// </summary>
 public void moveTo(Y_.DataType_.Number x, Y_.DataType_.Number y){}
Exemplo n.º 24
0
 /// <summary>
 /// Breaks up a 2d transform matrix into a series of transform operations.
 /// </summary>
 public Y_.Array decompose(Y_.Array _3x3){return null;}
Exemplo n.º 25
0
 /// <summary>
 /// Schema-parsed list of results from full data
 /// </summary>
 protected object _parseResults(Y_.Array fields, Y_.Array array_in, object data_out){return null;}
Exemplo n.º 26
0
 /// <summary>
 /// Converts a degree value to a radian.
 /// </summary>
 public Y_.DataType_.Number deg2rad(Y_.DataType_.Number deg){return null;}
Exemplo n.º 27
0
 /// <summary>
 /// Applies a schema to an array of data, returning a normalized object
 /// with results in the `results` property. The `meta` property of the
 /// response object is present for consistency, but is assigned an empty
 /// object.  If the input data is absent or not an array, an `error`
 /// property will be added.
 /// The input array is expected to contain objects, arrays, or strings.
 /// If _schema_ is not specified or _schema.resultFields_ is not an array,
 /// `response.results` will be assigned the input array unchanged.
 /// When a _schema_ is specified, the following will occur:
 /// If the input array contains strings, they will be copied as-is into the
 /// `response.results` array.
 /// If the input array contains arrays, `response.results` will contain an
 /// array of objects with key:value pairs assuming the fields in
 /// _schema.resultFields_ are ordered in accordance with the data array
 /// values.
 /// If the input array contains objects, the identified
 /// _schema.resultFields_ will be used to extract a value from those
 /// objects for the output result.
 /// _schema.resultFields_ field identifiers are objects with the following properties:
 /// * `key`   : <strong>(required)</strong> The locator name (String)
 /// * `parser`: A function or the name of a function on `Y.Parsers` used
 /// to convert the input value into a normalized type.  Parser
 /// functions are passed the value as input and are expected to
 /// return a value.
 /// If no value parsing is needed, you can use strings as identifiers
 /// instead of objects (see example below).
 /// </summary>
 public object apply(object schema, Y_.Array data){return null;}
Exemplo n.º 28
0
 /// <summary>
 /// Returns the determinant of a given matrix.
 /// /                                             \
 /// | matrix[0][0]   matrix[1][0]    matrix[2][0] |
 /// | matrix[0][1]   matrix[1][1]    matrix[2][1] |
 /// | matrix[0][2]   matrix[1][2]    matrix[2][2] |
 /// | matrix[0][3]   matrix[1][3]    matrix[2][3] |
 /// \                                             /
 /// </summary>
 public Y_.DataType_.Number getDeterminant(Y_.Array matrix){return null;}
Exemplo n.º 29
0
 /// <summary>
 /// This method will gather the area for all potential targets and see which has the hightest covered area and return it.
 /// </summary>
 public object getBestMatch(Y_.Array drops, object all){return null;}
Exemplo n.º 30
0
 /// <summary>
 /// A utility method that normalizes a given date by converting it to the 1st
 /// day of the month the date is in, with the time set to noon.
 /// </summary>
 protected Y_.DataType_.Date _normalizeDate(Y_.DataType_.Date oDate){return null;}