Central symmetry of shapes
alexzhirkevich opened this issue · comments
Alexander Zhirkevich commented
How to customise eyes like this, i tried and able to customise with same shape but all the sides are same! how to differentiate left top, right top and left bottom eye side?
Originally posted by @hardikbhalodi in #8 (comment)
Alexander Zhirkevich commented
Vector codes
From 1.5.5 central symmetry is enabled by default and can be changed with
val options = createQrVectorOptions {
shapes(centralSymmetry = enabled){
/// .....
}
}
Or in builder :
val shapes = QrVectorShapes(
centralSymmetry = enabled,
frame = ...,
ball = ...
)
Raster codes
Central symmetry was enabled by default from the beginning. Cannot be disabled.
Rstar commented
Thanks, i will check it out
Alexander Zhirkevich commented
How to customise eyes like this, i tried and able to customise with same shape but all the sides are same! how to differentiate left top, right top and left bottom eye side?
Originally posted by @hardikbhalodi in #8 (comment)
Shape like this now can be created using bottomRight = false
property in QrVectorFrameShape.RoundCorners
and QrVectorBallShape.RoundCorners
constructors