com.aspose.slides
Class LightRig

java.lang.Object
  extended by com.aspose.slides.LightRig
All Implemented Interfaces:
ILightRig

public class LightRig
extends java.lang.Object
implements ILightRig

Represents LightRig.


Constructor Summary
LightRig()
           Default constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
           Determines whether two FillFormat instances are equal.
 int getDirection()
           Light direction Read/write LightingDirection
 int getLightType()
           Represents a preset light right that can be applied to a shape.
 float[] getRotation()
           A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates.
 int hashCode()
           Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
 void setDirection(int value)
           
 void setLightType(int value)
           
 void setRotation(float latitude, float longitude, float revolution)
           A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LightRig

public LightRig()

Default constructor.

Method Detail

getDirection

public int getDirection()

Light direction Read/write LightingDirection

Specified by:
getDirection in interface ILightRig

setDirection

public void setDirection(int value)
Specified by:
setDirection in interface ILightRig

getLightType

public int getLightType()

Represents a preset light right that can be applied to a shape. The light rig represents a group of lights oriented in a specific way relative to a 3D scene. Read/write LightRigPresetType

Specified by:
getLightType in interface ILightRig

setLightType

public void setLightType(int value)
Specified by:
setLightType in interface ILightRig

setRotation

public void setRotation(float latitude,
                        float longitude,
                        float revolution)

A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates.

Specified by:
setRotation in interface ILightRig

getRotation

public float[] getRotation()

A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates. first element in return array - latitude, second - longitude, third - revolution.

Specified by:
getRotation in interface ILightRig

equals

public boolean equals(java.lang.Object obj)

Determines whether two FillFormat instances are equal.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.


Overriden to make compiler happy.

Overrides:
hashCode in class java.lang.Object