Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

ZXAztecCode.h 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Copyright 2013 ZXing authors
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. @class ZXBitMatrix;
  17. /**
  18. * Aztec 2D code representation
  19. */
  20. @interface ZXAztecCode : NSObject
  21. /**
  22. * Number of data codewords
  23. */
  24. @property (nonatomic, assign) int codeWords;
  25. /**
  26. * Compact or full symbol indicator
  27. */
  28. @property (nonatomic, assign, getter = isCompact) BOOL compact;
  29. /**
  30. * Number of levels
  31. */
  32. @property (nonatomic, assign) int layers;
  33. /**
  34. * The symbol image
  35. */
  36. @property (nonatomic, strong) ZXBitMatrix *matrix;
  37. /**
  38. * Size in pixels (width and height)
  39. */
  40. @property (nonatomic, assign) int size;
  41. @end