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 fonts used in a presentation.


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

Method Detail

size

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


get

public FontEntity get(int index)
Returns the font by 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 a collection.

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

clear

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


remove

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

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