Changeset 8083 in josm for trunk/src/com/kitfox/svg/FontFace.java
- Timestamp:
- 2015-02-18T15:49:56+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/kitfox/svg/FontFace.java
r6002 r8083 54 54 * Em size of coordinate system font is defined in 55 55 */ 56 int unitsPerEm = 1000; 57 int ascent = -1; 58 int descent = -1; 59 int accentHeight = -1; 60 int underlinePosition = -1; 61 int underlineThickness = -1; 62 int strikethroughPosition = -1; 63 int strikethroughThickness = -1; 64 int overlinePosition = -1; 65 int overlineThickness = -1; 56 private int unitsPerEm = 1000; 57 private int ascent = -1; 58 private int descent = -1; 59 private int accentHeight = -1; 60 private int underlinePosition = -1; 61 private int underlineThickness = -1; 62 private int strikethroughPosition = -1; 63 private int strikethroughThickness = -1; 64 private int overlinePosition = -1; 65 private int overlineThickness = -1; 66 66 67 67 /** … … 234 234 return false; 235 235 } 236 237 /** 238 * @param unitsPerEm the unitsPerEm to set 239 */ 240 public void setUnitsPerEm(int unitsPerEm) 241 { 242 this.unitsPerEm = unitsPerEm; 243 } 244 245 /** 246 * @param ascent the ascent to set 247 */ 248 public void setAscent(int ascent) 249 { 250 this.ascent = ascent; 251 } 252 253 /** 254 * @param descent the descent to set 255 */ 256 public void setDescent(int descent) 257 { 258 this.descent = descent; 259 } 260 261 /** 262 * @param accentHeight the accentHeight to set 263 */ 264 public void setAccentHeight(int accentHeight) 265 { 266 this.accentHeight = accentHeight; 267 } 268 269 /** 270 * @param underlinePosition the underlinePosition to set 271 */ 272 public void setUnderlinePosition(int underlinePosition) 273 { 274 this.underlinePosition = underlinePosition; 275 } 276 277 /** 278 * @param underlineThickness the underlineThickness to set 279 */ 280 public void setUnderlineThickness(int underlineThickness) 281 { 282 this.underlineThickness = underlineThickness; 283 } 284 285 /** 286 * @param strikethroughPosition the strikethroughPosition to set 287 */ 288 public void setStrikethroughPosition(int strikethroughPosition) 289 { 290 this.strikethroughPosition = strikethroughPosition; 291 } 292 293 /** 294 * @param strikethroughThickness the strikethroughThickness to set 295 */ 296 public void setStrikethroughThickness(int strikethroughThickness) 297 { 298 this.strikethroughThickness = strikethroughThickness; 299 } 300 301 /** 302 * @param overlinePosition the overlinePosition to set 303 */ 304 public void setOverlinePosition(int overlinePosition) 305 { 306 this.overlinePosition = overlinePosition; 307 } 308 309 /** 310 * @param overlineThickness the overlineThickness to set 311 */ 312 public void setOverlineThickness(int overlineThickness) 313 { 314 this.overlineThickness = overlineThickness; 315 } 236 316 }
Note:
See TracChangeset
for help on using the changeset viewer.