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.
 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)
           Light direction.
 void setLightType(int value)
           Represents a preset light right that can be applied to a shape.
 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 final int getDirection()

Light direction. Read/write LightingDirection.

Specified by:
getDirection in interface ILightRig

setDirection

public final void setDirection(int value)

Light direction. Read/write LightingDirection.

Specified by:
setDirection in interface ILightRig

getLightType

public final 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 final void setLightType(int value)

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:
setLightType in interface ILightRig

setRotation

public final 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 final 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


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.