Point

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IPoint

public class Point implements IPoint

Represent animation point.

Constructors

ConstructorDescription
Point()Default constructor.
Point(float time, Object value, String formula)Create animation point with time, value and formula.

Methods

MethodDescription
getTime()Represents time value.
setTime(float value)Represents time value.
getValue()Represents point value.
setValue(Object value)Represents point value.
getFormula()Formulas within values, from, to, by attributes can be made up of these: Standard arithmetic operators: \u2018+\u2019, \u2018-\u2018, \u2018*\u2019, \u2018/\u2019, \u2018^\u2019, \u2018%\u2019 (mod) Constants: \u2018pi\u2019 \u2018e\u2019 Conditional operators: \u2018abs\u2019, \u2018min\u2019, \u2018max\u2019, \u2018?\u2019
setFormula(String value)Formulas within values, from, to, by attributes can be made up of these: Standard arithmetic operators: \u2018+\u2019, \u2018-\u2018, \u2018*\u2019, \u2018/\u2019, \u2018^\u2019, \u2018%\u2019 (mod) Constants: \u2018pi\u2019 \u2018e\u2019 Conditional operators: \u2018abs\u2019, \u2018min\u2019, \u2018max\u2019, \u2018?\u2019

Point()

public Point()

Default constructor.

Point(float time, Object value, String formula)

public Point(float time, Object value, String formula)

Create animation point with time, value and formula.

Parameters:

ParameterTypeDescription
timefloatTime value.
valuejava.lang.ObjectPoint value.
formulajava.lang.StringFormula.

getTime()

public final float getTime()

Represents time value. Read/write float.

Returns: float

setTime(float value)

public final void setTime(float value)

Represents time value. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getValue()

public final Object getValue()

Represents point value. Only: bool, ColorFormat, float, int, string. Read/write Object.

Returns: java.lang.Object

setValue(Object value)

public final void setValue(Object value)

Represents point value. Only: bool, ColorFormat, float, int, string. Read/write Object.

Parameters:

ParameterTypeDescription
valuejava.lang.Object

getFormula()

public final String getFormula()

Formulas within values, from, to, by attributes can be made up of these: Standard arithmetic operators: \u2018+\u2019, \u2018-\u2018, \u2018*\u2019, \u2018/\u2019, \u2018^\u2019, \u2018%\u2019 (mod) Constants: \u2018pi\u2019 \u2018e\u2019 Conditional operators: \u2018abs\u2019, \u2018min\u2019, \u2018max\u2019, \u2018?\u2019 (if) Comparison operators: ‘==’, ‘>=’, ‘’, ‘!=’, ‘!’ Trigonometric operators: \u2018sin()\u2019, \u2018cos()\u2019, \u2018tan()\u2019, \u2018asin()\u2019, \u2018acos()\u2019, \u2018atan()\u2019 Natural logarithm \u2018ln()\u2019 Property references (host supported properties) for example: “#ppt_x+(cos(-2*pi*(1-$))*-#ppt_x-sin(-2*pi*(1-$))*(1-#ppt_y))*(1-$)” Read/write String.

Returns: java.lang.String

setFormula(String value)

public final void setFormula(String value)

Formulas within values, from, to, by attributes can be made up of these: Standard arithmetic operators: \u2018+\u2019, \u2018-\u2018, \u2018*\u2019, \u2018/\u2019, \u2018^\u2019, \u2018%\u2019 (mod) Constants: \u2018pi\u2019 \u2018e\u2019 Conditional operators: \u2018abs\u2019, \u2018min\u2019, \u2018max\u2019, \u2018?\u2019 (if) Comparison operators: ‘==’, ‘>=’, ‘’, ‘!=’, ‘!’ Trigonometric operators: \u2018sin()\u2019, \u2018cos()\u2019, \u2018tan()\u2019, \u2018asin()\u2019, \u2018acos()\u2019, \u2018atan()\u2019 Natural logarithm \u2018ln()\u2019 Property references (host supported properties) for example: “#ppt_x+(cos(-2*pi*(1-$))*-#ppt_x-sin(-2*pi*(1-$))*(1-#ppt_y))*(1-$)” Read/write String.

Parameters:

ParameterTypeDescription
valuejava.lang.String