---
title: "CadSun"
url: "https://reference.aspose.com/cad/java/com.aspose.cad.fileformats.cad.cadobjects/cadsun/"
product: "Aspose.CAD for Java"
description: "The Cad sun."
---


**Inheritance:** java.lang.Object, CadBaseEntity

The Cad sun.

## Constructors

| Constructor | Description |
| --- | --- |
| [CadSun()](#CadSun) |  |

## Methods

| Method | Description |
| --- | --- |
| [getTypeName()](#getTypeName) | Gets the name of the type. |
| [getColor()](#getColor) | Gets or sets the color. |
| [setColor(short value)](#setColor-short) | Gets or sets the color. |
| [getDaylightSavings()](#getDaylightSavings) | Gets or sets a value indicating whether daylight savings. |
| [setDaylightSavings(boolean value)](#setDaylightSavings-boolean) | Gets or sets a value indicating whether daylight savings. |
| [getIntensity()](#getIntensity) | Gets or sets the intensity. |
| [setIntensity(double value)](#setIntensity-double) | Gets or sets the intensity. |
| [getJulianDay()](#getJulianDay) | Gets or sets the julian day. |
| [setJulianDay(int value)](#setJulianDay-int) | Gets or sets the julian day. |
| [getShadowMapSize()](#getShadowMapSize) | Gets or sets the shadow map size. |
| [setShadowMapSize(short value)](#setShadowMapSize-short) | Gets or sets the shadow map size. |
| [getShadowSoftness()](#getShadowSoftness) | Gets or sets the shadow softness. |
| [setShadowSoftness(short value)](#setShadowSoftness-short) | Gets or sets the shadow softness. |
| [getShadowType()](#getShadowType) | Gets or sets the shadow type. |
| [setShadowType(short value)](#setShadowType-short) | Gets or sets the shadow type. |
| [getShadows()](#getShadows) | Gets or sets a value indicating whether shadows. |
| [setShadows(boolean value)](#setShadows-boolean) | Gets or sets a value indicating whether shadows. |
| [getStatus()](#getStatus) | Gets or sets a value indicating whether status. |
| [setStatus(boolean value)](#setStatus-boolean) | Gets or sets a value indicating whether status. |
| [getTime()](#getTime) | Gets or sets the time. |
| [setTime(int value)](#setTime-int) | Gets or sets the time. |
| [getVersionNumber()](#getVersionNumber) | Gets or sets the version number. |
| [setVersionNumber(int value)](#setVersionNumber-int) | Gets or sets the version number. |

### CadSun() {#CadSun}
```java
public CadSun()
```

### getTypeName() {#getTypeName}
```java
public int getTypeName()
```

Gets the name of the type.

**Returns:** int - The name of the type.

### getColor() {#getColor}
```java
public final short getColor()
```

Gets or sets the color.

**Returns:** short

### setColor(short value) {#setColor-short}
```java
public final void setColor(short value)
```

Gets or sets the color.

### getDaylightSavings() {#getDaylightSavings}
```java
public final boolean getDaylightSavings()
```

Gets or sets a value indicating whether daylight savings.

**Returns:** boolean

### setDaylightSavings(boolean value) {#setDaylightSavings-boolean}
```java
public final void setDaylightSavings(boolean value)
```

Gets or sets a value indicating whether daylight savings.

### getIntensity() {#getIntensity}
```java
public final double getIntensity()
```

Gets or sets the intensity.

**Returns:** double

### setIntensity(double value) {#setIntensity-double}
```java
public final void setIntensity(double value)
```

Gets or sets the intensity.

### getJulianDay() {#getJulianDay}
```java
public final int getJulianDay()
```

Gets or sets the julian day.

**Returns:** int

### setJulianDay(int value) {#setJulianDay-int}
```java
public final void setJulianDay(int value)
```

Gets or sets the julian day.

### getShadowMapSize() {#getShadowMapSize}
```java
public final short getShadowMapSize()
```

Gets or sets the shadow map size.

**Returns:** short

### setShadowMapSize(short value) {#setShadowMapSize-short}
```java
public final void setShadowMapSize(short value)
```

Gets or sets the shadow map size.

### getShadowSoftness() {#getShadowSoftness}
```java
public final short getShadowSoftness()
```

Gets or sets the shadow softness.

**Returns:** short

### setShadowSoftness(short value) {#setShadowSoftness-short}
```java
public final void setShadowSoftness(short value)
```

Gets or sets the shadow softness.

### getShadowType() {#getShadowType}
```java
public final short getShadowType()
```

Gets or sets the shadow type.

**Returns:** short

### setShadowType(short value) {#setShadowType-short}
```java
public final void setShadowType(short value)
```

Gets or sets the shadow type.

### getShadows() {#getShadows}
```java
public final boolean getShadows()
```

Gets or sets a value indicating whether shadows.

**Returns:** boolean

### setShadows(boolean value) {#setShadows-boolean}
```java
public final void setShadows(boolean value)
```

Gets or sets a value indicating whether shadows.

### getStatus() {#getStatus}
```java
public final boolean getStatus()
```

Gets or sets a value indicating whether status.

**Returns:** boolean

### setStatus(boolean value) {#setStatus-boolean}
```java
public final void setStatus(boolean value)
```

Gets or sets a value indicating whether status.

### getTime() {#getTime}
```java
public final int getTime()
```

Gets or sets the time.

**Returns:** int

### setTime(int value) {#setTime-int}
```java
public final void setTime(int value)
```

Gets or sets the time.

### getVersionNumber() {#getVersionNumber}
```java
public final int getVersionNumber()
```

Gets or sets the version number.

**Returns:** int

### setVersionNumber(int value) {#setVersionNumber-int}
```java
public final void setVersionNumber(int value)
```

Gets or sets the version number.

