public class Bullet extends ObjectInstances of this class represent bullets in the
The hashCode() method in this class uses the values of the public fields to compute the hash value. When storing instances of the class in hashed collections, do not modify these fields after the object has been inserted.
Application code does not need to explicitly release the resources managed by each instance when those instances are no longer required, and thus no
dispose()method is provided.
public Bullet(StyleRange style)Create a new bullet with the specified style, and type
ST.BULLET_DOT. The style must have a glyph metrics set.
style- the style
- ERROR_NULL_ARGUMENT when the style or the glyph metrics are null