fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7.  
  8.  
  9.  
  10. interface ILineSymbolProperty
  11. {
  12. public enum LineCap
  13. {
  14. LineCap_BUTT,
  15. LineCap_ROUND,
  16. LineCap_SQUARE
  17. }
  18.  
  19. public enum LineJoin
  20. {
  21. LineJoin_BEVEL,
  22. LineJoin_MITER,
  23. LineJoin_ROUND
  24. }
  25. /**
  26. * get the property index
  27. */
  28. int GetID();
  29.  
  30. float GetWidth();
  31.  
  32. float GetStrokeWidth();
  33.  
  34. float GetHeight();
  35.  
  36. float GetStrokeHeight();
  37.  
  38. int GetColor();
  39.  
  40. int GetStrokeColor();
  41.  
  42. char GetAlpha();
  43.  
  44. char GetStrokeAlpha();
  45.  
  46. boolean IsStroke();
  47.  
  48. boolean GetDashPair(int factor, short pattern);
  49.  
  50. boolean GetStrokeDashPair(int factor, short pattenr);
  51.  
  52. LineCap GetLineCap();
  53.  
  54. LineJoin GetLineJoin();
  55. }
  56.  
  57. /* Name of the class has to be "Main" only if the class is public. */
  58. class Ideone
  59. {
  60. public static void main (String[] args) throws java.lang.Exception
  61. {
  62. // your code goes here
  63. }
  64. }
Success #stdin #stdout 0.07s 380224KB
stdin
Standard input is empty
stdout
Standard output is empty