All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.drew.metadata.photoshop.Subpath Maven / Gradle / Ivy

Go to download

Java library for extracting EXIF, IPTC, XMP, ICC and other metadata from image and video files.

There is a newer version: 2.19.0
Show newest version
package com.drew.metadata.photoshop;

import java.util.ArrayList;

/**
 * Represents a subpath created by Photoshop:
 * 
    *
  • Closed Bezier knot, linked
  • *
  • Closed Bezier knot, unlinked
  • *
  • Open Bezier knot, linked
  • *
  • Open Bezier knot, unlinked
  • *
* * @author Payton Garland */ public class Subpath { private final ArrayList _knots = new ArrayList(); private final String _type; public Subpath() { this(""); } public Subpath(String type) { _type = type; } /** * Appends a knot (set of 3 points) into the list */ public void add(Knot knot) { _knots.add(knot); } /** * Gets size of knots list * * @return size of knots ArrayList */ public int size() { return _knots.size(); } public Iterable getKnots() { return _knots; } public String getType() { return _type; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy