com.aspose.slides
Class Fonts

java.lang.Object
  extended by com.aspose.slides.Fonts

public final class Fonts
extends java.lang.Object

Represents the collection of a fonts used in a presentation.


Constructor Summary
protected Fonts()
           
 
Method Summary
 int add(FontEntity value)
          Adds a Font to the end of collection.
 void clear()
          Removes all elements from the collection.
 FontEntity get(int index)
          Returns the font by font index.
 void remove(int index)
          Removes the element at the specified index of the collection.
 int size()
          Returns the number of elements in this collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fonts

protected Fonts()
Method Detail

size

public int size()
Returns the number of elements in this collection.

Returns:
The number of elements in this collection.

get

public FontEntity get(int index)
Returns the font by font index.

Parameters:
index - index of the font to return.
Returns:
The font at the specified index.

add

public int add(FontEntity value)
Adds a Font to the end of collection.

Parameters:
value - the Font to be added to the end of the collection.
Returns:
index index of the new added font.

clear

public void clear()
Removes all elements from the collection.


remove

public void remove(int index)
Removes the element at the specified index of the collection.

Parameters:
index - the zero-based index of the element to remove.