Esempio n. 1
0
 /**
  * Adds vertical stretch interval.
  *
  * @param interval vertical stretch interval to add
  */
 public void addVerticalStretch(final NinePatchInterval interval) {
   this.verticalStretch.add(interval);
   updateCachedHeightData();
 }
Esempio n. 2
0
 /**
  * Sets list of vertical stretch intervals.
  *
  * @param verticalStretch list of vertical stretch intervals
  */
 public void setVerticalStretch(final List<NinePatchInterval> verticalStretch) {
   this.verticalStretch = verticalStretch;
   updateCachedHeightData();
 }