ILayoutable

All Implemented Interfaces: com.aspose.slides.IChartComponent

public interface ILayoutable extends IChartComponent

Specifies the exact position of a chart element.

Methods

MethodDescription
getX()Specifies the x location (left) of the chart element as a fraction of the width of the chart.
setX(float value)Specifies the x location (left) of the chart element as a fraction of the width of the chart.
getY()Specifies the top of the chart element as a fraction of the height of the chart.
setY(float value)Specifies the top of the chart element as a fraction of the height of the chart.
getWidth()Specifies the width of the chart element as a fraction of the width of the chart.
setWidth(float value)Specifies the width of the chart element as a fraction of the width of the chart.
getHeight()Specifies the height of the chart element as a fraction of the height of the chart.
setHeight(float value)Specifies the height of the chart element as a fraction of the height of the chart.
getRight()Gets the right of the chart element as a fraction of the width of the chart.
getBottom()Gets the top of the chart element as a fraction of the height of the chart.

getX()

public abstract float getX()

Specifies the x location (left) of the chart element as a fraction of the width of the chart. Read/write float.

Returns: float

setX(float value)

public abstract void setX(float value)

Specifies the x location (left) of the chart element as a fraction of the width of the chart. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getY()

public abstract float getY()

Specifies the top of the chart element as a fraction of the height of the chart. Read/write float.

Returns: float

setY(float value)

public abstract void setY(float value)

Specifies the top of the chart element as a fraction of the height of the chart. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getWidth()

public abstract float getWidth()

Specifies the width of the chart element as a fraction of the width of the chart. Read/write float.

Returns: float

setWidth(float value)

public abstract void setWidth(float value)

Specifies the width of the chart element as a fraction of the width of the chart. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getHeight()

public abstract float getHeight()

Specifies the height of the chart element as a fraction of the height of the chart. Read/write float.

Returns: float

setHeight(float value)

public abstract void setHeight(float value)

Specifies the height of the chart element as a fraction of the height of the chart. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getRight()

public abstract float getRight()

Gets the right of the chart element as a fraction of the width of the chart. Read-only float.

Returns: float

getBottom()

public abstract float getBottom()

Gets the top of the chart element as a fraction of the height of the chart. Read-only float.

Returns: float